Re: [PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-08-01 Thread Waiman Long
On 07/25/2017 01:13 PM, Tejun Heo wrote: >> >> Bypass mode targets mainly non-domain controllers and controllers that >> have cost associated with each additional level of hierarchy (e.g. cpu). >> I believe the end goal of cgroup v2 is to have all controllers migrated >> to it eventually. Consider

Re: [PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-08-01 Thread Waiman Long
On 07/25/2017 01:13 PM, Tejun Heo wrote: >> >> Bypass mode targets mainly non-domain controllers and controllers that >> have cost associated with each additional level of hierarchy (e.g. cpu). >> I believe the end goal of cgroup v2 is to have all controllers migrated >> to it eventually. Consider

Re: [PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-07-25 Thread Waiman Long
On 07/25/2017 01:13 PM, Tejun Heo wrote: > Hello, Waiman. > > On Mon, Jul 24, 2017 at 02:20:59PM -0400, Waiman Long wrote: >> As said in patch 3, enabling bypass mode at subtree_control delegate the >> authority of enabling controllers to the children. The children own the >> resource control

Re: [PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-07-25 Thread Waiman Long
On 07/25/2017 01:13 PM, Tejun Heo wrote: > Hello, Waiman. > > On Mon, Jul 24, 2017 at 02:20:59PM -0400, Waiman Long wrote: >> As said in patch 3, enabling bypass mode at subtree_control delegate the >> authority of enabling controllers to the children. The children own the >> resource control

Re: [PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-07-25 Thread Tejun Heo
Hello, Waiman. On Mon, Jul 24, 2017 at 02:20:59PM -0400, Waiman Long wrote: > As said in patch 3, enabling bypass mode at subtree_control delegate the > authority of enabling controllers to the children. The children own the > resource control files directly. It will be more straight forward to

Re: [PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-07-25 Thread Tejun Heo
Hello, Waiman. On Mon, Jul 24, 2017 at 02:20:59PM -0400, Waiman Long wrote: > As said in patch 3, enabling bypass mode at subtree_control delegate the > authority of enabling controllers to the children. The children own the > resource control files directly. It will be more straight forward to

Re: [PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-07-24 Thread Waiman Long
On 07/22/2017 09:50 AM, Tejun Heo wrote: > Hello, Waiman. > > On Fri, Jul 21, 2017 at 04:34:51PM -0400, Waiman Long wrote: >> The special prefix '#' attached to a controller name can now be written >> into the cgroup.subtree_control file to set that controller in bypass >> mode in all the child

Re: [PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-07-24 Thread Waiman Long
On 07/22/2017 09:50 AM, Tejun Heo wrote: > Hello, Waiman. > > On Fri, Jul 21, 2017 at 04:34:51PM -0400, Waiman Long wrote: >> The special prefix '#' attached to a controller name can now be written >> into the cgroup.subtree_control file to set that controller in bypass >> mode in all the child

Re: [PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-07-22 Thread Tejun Heo
Hello, Waiman. On Fri, Jul 21, 2017 at 04:34:51PM -0400, Waiman Long wrote: > The special prefix '#' attached to a controller name can now be written > into the cgroup.subtree_control file to set that controller in bypass > mode in all the child cgroups. The controller will show up in the >

Re: [PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-07-22 Thread Tejun Heo
Hello, Waiman. On Fri, Jul 21, 2017 at 04:34:51PM -0400, Waiman Long wrote: > The special prefix '#' attached to a controller name can now be written > into the cgroup.subtree_control file to set that controller in bypass > mode in all the child cgroups. The controller will show up in the >

[PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-07-21 Thread Waiman Long
The special prefix '#' attached to a controller name can now be written into the cgroup.subtree_control file to set that controller in bypass mode in all the child cgroups. The controller will show up in the children's cgroup.controllers file, but the corresponding control knobs will be absent.

[PATCH v2 2/4] cgroup: Allow bypass mode in subtree_control

2017-07-21 Thread Waiman Long
The special prefix '#' attached to a controller name can now be written into the cgroup.subtree_control file to set that controller in bypass mode in all the child cgroups. The controller will show up in the children's cgroup.controllers file, but the corresponding control knobs will be absent.