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

From: Zefan Li
Date: Tue Aug 15 2017 - 21:21:01 EST


On 2017/8/16 1:27, Waiman Long wrote:
> Cpuset v2 has some valuable attributes 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 adds a new kernel command line option "cpuset_v2_mode=" to
> allow cpuset to have v2 behavior in a v1 cgroup when using a non-zero
> value. This enables users to optionally enable cpuset v2 behavior if
> they choose to.
>
> Signed-off-by: Waiman Long <longman@xxxxxxxxxx>

I have no strong objection. I have received quite a few requests for
this in the past, and some were from other departments in my company.