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

2017-08-17 Thread kbuild test robot
Hi Waiman, [auto build test ERROR on linus/master] [also build test ERROR on v4.13-rc5 next-20170817] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Waiman-Long/cpuset-Allow-v2-behavior-in-v1-cg

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

2017-08-17 Thread kbuild test robot
Hi Waiman, [auto build test WARNING on linus/master] [also build test WARNING on v4.13-rc5 next-20170817] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Waiman-Long/cpuset-Allow-v2-behavior-in-v

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

2017-08-16 Thread Waiman Long
On 08/16/2017 10:36 AM, Tejun Heo wrote: > Hello, > > On Wed, Aug 16, 2017 at 10:34:05AM -0400, Waiman Long wrote: >>> 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? >>> >> Yes, we

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

2017-08-16 Thread Tejun Heo
Hello, On Wed, Aug 16, 2017 at 10:34:05AM -0400, Waiman Long wrote: > > 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? > > > Yes, we can certainly make this a mount option instead

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

2017-08-16 Thread Waiman Long
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 >> +t

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

2017-08-16 Thread Tejun Heo
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

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

2017-08-15 Thread Zefan Li
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

[PATCH] cpuset: Allow v2 behavior in v1 cgroup

2017-08-15 Thread Waiman Long
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=" t