Messages in this thread | | | Date | Fri, 8 Apr 2022 07:54:26 -1000 | From | Tejun Heo <> | Subject | Re: [PATCH] cgroup: fix attach task fail when subtree_control configured |
| |
On Fri, Apr 08, 2022 at 06:23:14PM +0800, zhaoyang.huang wrote: > From: Zhaoyang Huang <zhaoyang.huang@unisoc.com> > > It is found that task attach to a vacant cgroup will fail when its > subtree_control has been configured. Fix it by judging if there is no chrildren > existed. > > Signed-off-by: Zhaoyang Huang <zhaoyang.huang@unisoc.com>
If I'm not misunderstanding, that's the intended behavior. Can you please take a look at Documentation/admin-guide/cgroup-v2.rst and confirm what you're trying to do?
Thanks.
-- tejun
| |