summary refs log tree commit diff
path: root/Documentation/kernel-parameters.txt
diff options
context:
space:
mode:
authorQiang Huang <h.huangqiang@huawei.com>2013-11-06 13:18:09 -0800
committerJiri Kosina <jkosina@suse.cz>2013-12-02 14:50:46 +0100
commitca0bdbb5fd0ed9ac024c74f563bed7571eae304c (patch)
tree2b9898cac84c8499216aefc1d6cc480fddf0bb43 /Documentation/kernel-parameters.txt
parentac6d662a95a6989d83b259ccf8ec01dd7903af73 (diff)
downloadlinux-ca0bdbb5fd0ed9ac024c74f563bed7571eae304c.tar.gz
cgroup, doc: make cgroup_disable doc more accurate
In doc, it said that 'Currently supported controllers - "memory"',
but actually we can use cgroup_disable=cpu,cpuset and all other
controllers, so this is confusing for cgroup users without much
cgroup knowledge. We need to make it clear.

[some comments copied from Paul Menage's original patch 8bab8dded]

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Acked-by: Rob Landley <rob@landley.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r--Documentation/kernel-parameters.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 479eeaf44024..5589f4dbc12f 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -511,7 +511,14 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 
 	cgroup_disable= [KNL] Disable a particular controller
 			Format: {name of the controller(s) to disable}
-				{Currently supported controllers - "memory"}
+			The effects of cgroup_disable=foo are:
+			- foo isn't auto-mounted if you mount all cgroups in
+			  a single hierarchy
+			- foo isn't visible as an individually mountable
+			  subsystem
+			{Currently only "memory" controller deal with this and
+			cut the overhead, others just disable the usage. So
+			only cgroup_disable=memory is actually worthy}
 
 	checkreqprot	[SELINUX] Set initial checkreqprot flag value.
 			Format: { "0" | "1" }