summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2017-08-17 21:33:10 +0200
committerTejun Heo <tj@kernel.org>2017-08-18 17:24:22 +0200
commitb8d1b8ee93df8ffbabbeadd65d39853cfad6d698 (patch)
treed83d190bca0919da340bb0b6b6a6f4b77b3d7d51 /security
parentcgroup: Add mount flag to enable cpuset to use v2 behavior in v1 cgroup (diff)
downloadlinux-b8d1b8ee93df8ffbabbeadd65d39853cfad6d698.tar.xz
linux-b8d1b8ee93df8ffbabbeadd65d39853cfad6d698.zip
cpuset: Allow v2 behavior in v1 cgroup
Cpuset v2 has some useful behaviors that are not present in v1 because of backward compatibility concern. One of that is the restoration of the original cpu and memory node mask after a hot removal and addition event sequence. This patch makes the cpuset controller to check the CGRP_ROOT_CPUSET_V2_MODE flag and use the v2 behavior if it is set. Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions