]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f26f5e03f92ecfc28aca0e08f2026fa3874220d
tree93db5bb4c9028449057db754f83058bb7593aefa
parent5fcc1e57634dea21d6c32bb752ea4fd5f34ed2ac
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