diff options
author | 2016-03-03 09:57:59 -0500 | |
---|---|---|
committer | 2016-03-03 09:57:59 -0500 | |
commit | 1b9b96a12b5433ccc477265111122720ccb4965e (patch) | |
tree | adf76d451462fbd1e6bf26b4821948726fc5b4b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: introduce cgroup_control() and cgroup_ss_mask() (diff) | |
download | linux-dev-1b9b96a12b5433ccc477265111122720ccb4965e.tar.xz linux-dev-1b9b96a12b5433ccc477265111122720ccb4965e.zip |
cgroup: factor out cgroup_drain_offline() from cgroup_subtree_control_write()
Factor out async css offline draining into cgroup_drain_offline().
* Nest subsystem walk inside child walk. The child walk will later be
converted to subtree walk which is a bit more expensive.
* Relocate the draining above subsystem mask preparation, which
doesn't create any behavior differences but helps further
refactoring.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions