diff options
author | 2014-05-13 12:19:23 -0400 | |
---|---|---|
committer | 2014-05-13 12:19:23 -0400 | |
commit | 01f6474ce04fffd6282b569ac0a31f4b98d4c82a (patch) | |
tree | b536ea8d57db3c87fbe897db727005db5cf2e8db /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: use cgroup_kn_lock_live() in other cgroup kernfs methods (diff) | |
download | linux-dev-01f6474ce04fffd6282b569ac0a31f4b98d4c82a.tar.xz linux-dev-01f6474ce04fffd6282b569ac0a31f4b98d4c82a.zip |
cgroup: nest kernfs active protection under cgroup_mutex
After the recent cgroup_kn_lock_live() changes, cgroup_mutex is no
longer nested below kernfs active protection. The two don't have any
relationship now.
This patch nests kernfs active protection under cgroup_mutex. All
cftype operations now require both cgroup_tree_mutex and cgroup_mutex,
temporary cgroup_mutex releases over kernfs operations are removed,
and cgroup_add/rm_cftypes() grab both mutexes.
This makes cgroup_tree_mutex redundant, which will be removed by the
next patch.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions