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

From: Waiman Long
Date: Wed Aug 16 2017 - 10:34:12 EST


On 08/16/2017 10:29 AM, Tejun Heo wrote:
> 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.
>
Yes, we can certainly make this a mount option instead of a boot time
parameter. BTW, where do we usually document the mount options for cgroup?

Cheers,
Longman