Commit ca0bdbb5fd0ed9ac024c74f563bed7571eae304c

Authored by Qiang Huang
Committed by Jiri Kosina
1 parent ac6d662a95

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>

Showing 1 changed file with 8 additions and 1 deletions Side-by-side Diff

Documentation/kernel-parameters.txt
... ... @@ -511,7 +511,14 @@
511 511  
512 512 cgroup_disable= [KNL] Disable a particular controller
513 513 Format: {name of the controller(s) to disable}
514   - {Currently supported controllers - "memory"}
  514 + The effects of cgroup_disable=foo are:
  515 + - foo isn't auto-mounted if you mount all cgroups in
  516 + a single hierarchy
  517 + - foo isn't visible as an individually mountable
  518 + subsystem
  519 + {Currently only "memory" controller deal with this and
  520 + cut the overhead, others just disable the usage. So
  521 + only cgroup_disable=memory is actually worthy}
515 522  
516 523 checkreqprot [SELINUX] Set initial checkreqprot flag value.
517 524 Format: { "0" | "1" }