cgroup: Add named hierarchy disabling to cgroup_no_v1 boot param
authorTejun Heo <tj@kernel.org>
Fri, 28 Dec 2018 18:31:07 +0000 (10:31 -0800)
committerTejun Heo <tj@kernel.org>
Fri, 28 Dec 2018 18:34:12 +0000 (10:34 -0800)
commit3fc9c12d27b4ded4f1f761a800558dab2e6bbac5
tree93db5bb4c9028449057db754f83058bb7593aefa
parente250d91d65750a0c0c62483ac4f9f357e7317617
cgroup: Add named hierarchy disabling to cgroup_no_v1 boot param

It can be useful to inhibit all cgroup1 hierarchies especially during
transition and for debugging.  cgroup_no_v1 can block hierarchies with
controllers which leaves out the named hierarchies.  Expand it to
cover the named hierarchies so that "cgroup_no_v1=all,named" disables
all cgroup1 hierarchies.

Signed-off-by: Tejun Heo <tj@kernel.org>
Suggested-by: Marcin Pawlowski <mpawlowski@fb.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
kernel/cgroup/cgroup-v1.c