summaryrefslogtreecommitdiffstats
path: root/fs/kernfs
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2016-02-11 13:34:49 -0500
committerTejun Heo <tj@kernel.org>2016-02-12 15:01:45 -0500
commit223ffb29f9723a4b485cacf6dc7e6d639fffc322 (patch)
treeed4c257525ad1a5550b5e44896688282842841b4 /fs/kernfs
parente11b956e9ebef098cc4f81964a1f57e40fe75cd4 (diff)
downloadlinux-223ffb29f9723a4b485cacf6dc7e6d639fffc322.tar.gz
linux-223ffb29f9723a4b485cacf6dc7e6d639fffc322.tar.bz2
linux-223ffb29f9723a4b485cacf6dc7e6d639fffc322.zip
cgroup: provide cgroup_nov1= to disable controllers in v1 mounts
Testing cgroup2 can be painful with system software automatically mounting and populating all cgroup controllers in v1 mode. Sometimes they can be unmounted from rc.local, sometimes even that is too late. Provide a commandline option to disable certain controllers in v1 mounts, so that they remain available for cgroup2 mounts. Example use: cgroup_no_v1=memory,cpu cgroup_no_v1=all Disabling will be confirmed at boot-time as such: [ 0.013770] Disabling cpu control group subsystem in v1 mounts [ 0.016004] Disabling memory control group subsystem in v1 mounts Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions