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 /include/linux/cgroup.h | |
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 'include/linux/cgroup.h')
-rw-r--r-- | include/linux/cgroup.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 7a2189ca8327..d2f82979f6c1 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -143,9 +143,11 @@ enum { | |||
143 | /* Control Group requires release notifications to userspace */ | 143 | /* Control Group requires release notifications to userspace */ |
144 | CGRP_NOTIFY_ON_RELEASE, | 144 | CGRP_NOTIFY_ON_RELEASE, |
145 | /* | 145 | /* |
146 | * Clone cgroup values when creating a new child cgroup | 146 | * Clone the parent's configuration when creating a new child |
147 | * cpuset cgroup. For historical reasons, this option can be | ||
148 | * specified at mount time and thus is implemented here. | ||
147 | */ | 149 | */ |
148 | CGRP_CLONE_CHILDREN, | 150 | CGRP_CPUSET_CLONE_CHILDREN, |
149 | }; | 151 | }; |
150 | 152 | ||
151 | struct cgroup { | 153 | struct cgroup { |