summaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorTejun Heo2013-06-14 04:58:38 +0200
committerTejun Heo2013-06-14 05:02:26 +0200
commitf63674fd0d6afa1ba24309aee1f8c60195d39041 (patch)
tree032c58b8c71a984c6313abd64091ec2905bb770f /include/linux/cgroup.h
parentcgroup: use percpu refcnt for cgroup_subsys_states (diff)
downloadkernel-qcow2-linux-f63674fd0d6afa1ba24309aee1f8c60195d39041.tar.gz
kernel-qcow2-linux-f63674fd0d6afa1ba24309aee1f8c60195d39041.tar.xz
kernel-qcow2-linux-f63674fd0d6afa1ba24309aee1f8c60195d39041.zip
cgroup: update sane_behavior documentation
f12dc02014 ("cgroup: mark "tasks" cgroup file as insane") and cc5943a781 ("cgroup: mark "notify_on_release" and "release_agent" cgroup files insane") forgot to update the changed behavior documentation in cgroup.h. Update it. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r--include/linux/cgroup.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index b7bd4beae294..17604767adfd 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -264,13 +264,14 @@ enum {
*
* - Remount is disallowed.
*
- * - memcg: use_hierarchy is on by default and the cgroup file for
- * the flag is not created.
+ * - "tasks" is removed. Everything should be at process
+ * granularity. Use "cgroup.procs" instead.
*
- * The followings are planned changes.
+ * - "release_agent" and "notify_on_release" are removed.
+ * Replacement notification mechanism will be implemented.
*
- * - release_agent will be disallowed once replacement notification
- * mechanism is implemented.
+ * - memcg: use_hierarchy is on by default and the cgroup file for
+ * the flag is not created.
*/
CGRP_ROOT_SANE_BEHAVIOR = (1 << 0),