aboutsummaryrefslogtreecommitdiff
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorWaiman Long2017-08-17 15:33:10 -0400
committerTejun Heo2017-08-18 08:24:22 -0700
commitb8d1b8ee93df8ffbabbeadd65d39853cfad6d698 (patch)
treed83d190bca0919da340bb0b6b6a6f4b77b3d7d51 /mm/memcontrol.c
parente1cba4b85daa71b710384d451ff6238d5e4d1ff6 (diff)
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 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions