Re: [PATCH v3 2/2] cpuset: Allow v2 behavior in v1 cgroup

From: Tejun Heo
Date: Fri Aug 18 2017 - 11:25:34 EST


On Thu, Aug 17, 2017 at 03:33:10PM -0400, Waiman Long wrote:
> 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@xxxxxxxxxx>

Applied 1-2 to cgroup/for-4.14.

Thanks!

--
tejun