diff options
author | Tejun Heo <tj@kernel.org> | 2012-11-19 11:13:38 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-11-19 11:13:38 -0500 |
commit | 2260e7fc1f18ad815324605c1ce7d5c6fd9b19a2 (patch) | |
tree | effa76704caa7a6ce40b19de3fa2c3367ac5b431 /Documentation | |
parent | 92fb97487a7e41b222c1417cabd1d1ab7cc3a48c (diff) |
cgroup: s/CGRP_CLONE_CHILDREN/CGRP_CPUSET_CLONE_CHILDREN/
clone_children is only meaningful for cpuset and will stay that way.
Rename the flag to reflect that and update documentation. Also, drop
clone_children() wrapper in cgroup.c. The thin wrapper is used only a
few times and one of them will go away soon.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: Glauber Costa <glommer@parallels.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/cgroups/cgroups.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Documentation/cgroups/cgroups.txt b/Documentation/cgroups/cgroups.txt index b06eea217403..24cdf76bd20c 100644 --- a/Documentation/cgroups/cgroups.txt +++ b/Documentation/cgroups/cgroups.txt | |||
@@ -299,11 +299,9 @@ a cgroup hierarchy's release_agent path is empty. | |||
299 | 1.5 What does clone_children do ? | 299 | 1.5 What does clone_children do ? |
300 | --------------------------------- | 300 | --------------------------------- |
301 | 301 | ||
302 | If the clone_children flag is enabled (1) in a cgroup, then all | 302 | This flag only affects the cpuset controller. If the clone_children |
303 | cgroups created beneath will call the post_clone callbacks for each | 303 | flag is enabled (1) in a cgroup, a new cpuset cgroup will copy its |
304 | subsystem of the newly created cgroup. Usually when this callback is | 304 | configuration from the parent during initialization. |
305 | implemented for a subsystem, it copies the values of the parent | ||
306 | subsystem, this is the case for the cpuset. | ||
307 | 305 | ||
308 | 1.6 How do I use cgroups ? | 306 | 1.6 How do I use cgroups ? |
309 | -------------------------- | 307 | -------------------------- |