RE: [PATCH] cgroup: simplify code for cgroup_subtree_control_write()

2019-07-08 Thread Peng Wang
On Monday, July 8, 2019 10:41 PM, Tejun Heo wrote: > On Mon, Jul 08, 2019 at 09:01:32PM +0800, Peng Wang wrote: > > Process "enable" and "disable" earlier to simplify code. > > I don't think this is correct and even if it were the value of this > change is close to none, so nack on this one. OK.

Re: [PATCH] cgroup: simplify code for cgroup_subtree_control_write()

2019-07-08 Thread Tejun Heo
On Mon, Jul 08, 2019 at 09:01:32PM +0800, Peng Wang wrote: > Process "enable" and "disable" earlier to simplify code. I don't think this is correct and even if it were the value of this change is close to none, so nack on this one. Thanks. -- tejun

[PATCH] cgroup: simplify code for cgroup_subtree_control_write()

2019-07-08 Thread Peng Wang
Process "enable" and "disable" earlier to simplify code. Signed-off-by: Peng Wang --- kernel/cgroup/cgroup.c | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index bf9dbffd46b1..e49b8bde5c99 100644 --- a/