On Fri, Apr 08, 2022 at 06:23:14PM +0800, zhaoyang.huang wrote: > From: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx> > > 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@xxxxxxxxxx> 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