All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cgroup, doc: make cgroup_disable doc accurater
@ 2013-08-31  6:34 Qiang Huang
  0 siblings, 0 replies; only message in thread
From: Qiang Huang @ 2013-08-31  6:34 UTC (permalink / raw)
  To: rob-VoJi6FS/r0vR7s880joybQ
  Cc: linux-doc-u79uwXL29TY76Z2rM5mHXA, Li Zefan,
	tj-DgEjT+Ai2ygdnm+yROfE0A, Cgroups, menage-hpIqsD4AKlfQT0dZR+AlfA

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-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
---
 Documentation/kernel-parameters.txt | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 2fe6e76..14bb96e 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -460,7 +460,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" }
-- 
1.8.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-31  6:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-31  6:34 [PATCH] cgroup, doc: make cgroup_disable doc accurater Qiang Huang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.