diff options
author | Li Zefan <lizefan@huawei.com> | 2013-03-12 15:35:59 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-03-12 15:35:59 -0700 |
commit | d7eeac1913ff86a17f891cb4b73f03d4b94907d0 (patch) | |
tree | 1e44fde86b626dbeb7c27f007eeebce7d47ef206 /Documentation/cgroups | |
parent | 6dc01181eac16192dc4a5d1b310b78e2e97c003c (diff) |
cgroup: hold cgroup_mutex before calling css_offline()
cpuset no longer nests cgroup_mutex inside cpu_hotplug lock, so
we don't have to release cgroup_mutex before calling css_offline().
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/cgroups/cgroups.txt b/Documentation/cgroups/cgroups.txt index bcf1a00b06a1..0028e888828c 100644 --- a/Documentation/cgroups/cgroups.txt +++ b/Documentation/cgroups/cgroups.txt @@ -580,6 +580,7 @@ propagation along the hierarchy. See the comment on cgroup_for_each_descendant_pre() for details. void css_offline(struct cgroup *cgrp); +(cgroup_mutex held by caller) This is the counterpart of css_online() and called iff css_online() has succeeded on @cgrp. This signifies the beginning of the end of |