diff options
author | Li Zefan <lizefan@huawei.com> | 2012-06-06 22:12:30 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-06-06 22:12:30 -0400 |
commit | 6be96a5c905178637ec06a5d456a76b2b304fca3 (patch) | |
tree | 06cc22397df498c7e4dbb7195f77d1bc587295e3 /Documentation/cgroups | |
parent | 967db0ea65b0bf8507a7643ac8f296c4f2c0a834 (diff) |
cgroup: remove hierarchy_mutex
It was introduced for memcg to iterate cgroup hierarchy without
holding cgroup_mutex, but soon after that it was replaced with
a lockless way in memcg.
No one used hierarchy_mutex since that, so remove it.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/cgroups')
-rw-r--r-- | Documentation/cgroups/cgroups.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/cgroups/cgroups.txt b/Documentation/cgroups/cgroups.txt index 8e74980ab385..e86faaea7d66 100644 --- a/Documentation/cgroups/cgroups.txt +++ b/Documentation/cgroups/cgroups.txt | |||
@@ -656,7 +656,7 @@ example in cpusets, no task may attach before 'cpus' and 'mems' are set | |||
656 | up. | 656 | up. |
657 | 657 | ||
658 | void bind(struct cgroup *root) | 658 | void bind(struct cgroup *root) |
659 | (cgroup_mutex and ss->hierarchy_mutex held by caller) | 659 | (cgroup_mutex held by caller) |
660 | 660 | ||
661 | Called when a cgroup subsystem is rebound to a different hierarchy | 661 | Called when a cgroup subsystem is rebound to a different hierarchy |
662 | and root cgroup. Currently this will only involve movement between | 662 | and root cgroup. Currently this will only involve movement between |