Re: [PATCH v4 1/5] cgroup: subtree_control bypass mode for bypassable controllers

2018-12-10 Thread Waiman Long
On 11/29/2018 06:18 AM, Dan Carpenter wrote: > Hi Waiman, > > Thank you for the patch! Perhaps something to improve: > > url: > https://github.com/0day-ci/linux/commits/Waiman-Long/cgroup-Introducing-bypass-mode/20181123-030552 > base: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup

Re: [PATCH v4 1/5] cgroup: subtree_control bypass mode for bypassable controllers

2018-11-29 Thread Dan Carpenter
Hi Waiman, Thank you for the patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Waiman-Long/cgroup-Introducing-bypass-mode/20181123-030552 base: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next smatch warnings: kernel/cgroup/cgroup.c:48

[PATCH v4 1/5] cgroup: subtree_control bypass mode for bypassable controllers

2018-11-20 Thread Waiman Long
A controller in the default hierarchy is bypassable if the bypassable flag is set in its cgroup_subsys structure. The special prefix '#' attached to a bypassable controller name can now be written into the cgroup.subtree_control file to set that controller in bypass mode in all the child cgroups.