Skip to contentSkip to conversation

cgroup: update sane_behavior documentation

PATCH New Tejun Heo 1 participant 1 message Jun 14, 2013 cgroup

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

PATCH 1/1 cgroup: update sane_behavior documentation

From f63674fd0d6afa1ba24309aee1f8c60195d39041 Mon Sep 17 00:00:00 2001
From: Tejun Heo <[email protected]>
Date: Thu, 13 Jun 2013 19:58:38 -0700

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.

---
Forgot to update sane_behavior comment. Applied this patch to cgroup/for-3.11. Thanks.

 include/linux/cgroup.h | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
include/linux/cgroup.h +6 -5
index b7bd4be..1760476 100644
@@ -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),
 
Signature · 1 line
1.8.2.1