diff options
author | 2016-03-03 09:58:00 -0500 | |
---|---|---|
committer | 2016-03-03 09:58:00 -0500 | |
commit | 03970d3c11faf870dc5126bb2e84fd1d692af1b7 (patch) | |
tree | 7ded06e042e85e65557aa22180c9730181085cc1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: combine cgroup_mutex locking and offline css draining (diff) | |
download | linux-dev-03970d3c11faf870dc5126bb2e84fd1d692af1b7.tar.xz linux-dev-03970d3c11faf870dc5126bb2e84fd1d692af1b7.zip |
cgroup: use cgroup_apply_enable_control() in cgroup creation path
cgroup_create() manually updates control masks and creates child csses
which cgroup_mkdir() then manually populates. Both can be simplified
by using cgroup_apply_enable_control() and friends. The only catch is
that it calls css_populate_dir() with NULL cgroup->kn during
cgroup_create(). This is worked around by making the function noop on
NULL kn.
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