diff options
author | Waiman Long <longman@redhat.com> | 2017-08-17 15:33:10 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-08-18 08:24:22 -0700 |
commit | b8d1b8ee93df8ffbabbeadd65d39853cfad6d698 (patch) | |
tree | d83d190bca0919da340bb0b6b6a6f4b77b3d7d51 /kernel/cgroup/cgroup-internal.h | |
parent | e1cba4b85daa71b710384d451ff6238d5e4d1ff6 (diff) | |
download | linux-b8d1b8ee93df8ffbabbeadd65d39853cfad6d698.tar.bz2 |
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 'kernel/cgroup/cgroup-internal.h')
0 files changed, 0 insertions, 0 deletions