]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
cgroup: Add mount flag to enable cpuset to use v2 behavior in v1 cgroup
authorWaiman Long <longman@redhat.com>
Thu, 17 Aug 2017 19:33:09 +0000 (15:33 -0400)
committerTejun Heo <tj@kernel.org>
Fri, 18 Aug 2017 15:24:21 +0000 (08:24 -0700)
commite1cba4b85daa71b710384d451ff6238d5e4d1ff6
treed3d9847b654a3b4ae59e57fcbd9c81c2df533c23
parent696b98f244f77a79840bf420861c996d61c82637
cgroup: Add mount flag to enable cpuset to use v2 behavior in v1 cgroup

A new mount option "cpuset_v2_mode" is added to the v1 cgroupfs
filesystem to enable cpuset controller to use v2 behavior in a v1
cgroup. This mount option applies only to cpuset controller and have
no effect on other controllers.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/cgroup-defs.h
kernel/cgroup/cgroup-v1.c