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

From: Tejun Heo
Date: Wed Aug 16 2017 - 10:29:36 EST


Hello, Waiman.

On Tue, Aug 15, 2017 at 01:27:20PM -0400, Waiman Long wrote:
> + cpuset_v2_mode= [KNL] Enable cpuset v2 behavior in cpuset v1 cgroups.
> + In v2 mode, the cpus and mems can be restored to
> + their original values after a removal-addition
> + event sequence.
> + 0: default value, cpuset v1 keeps legacy behavior.
> + 1: cpuset v1 behaves like cpuset v2.
> +

It feels weird to make this a kernel boot param when all other options
are specified on mount time. Is there a reason why this can't be a
mount option too?

Thanks.

--
tejun