On Mon, Oct 04, 2021 at 08:19:48PM +0000, Vishal Verma wrote: > Found an issue within cgroup_attach_task_all() fn which seem > to exclude cgrp_dfl_root (cgroupv2) while attaching tasks to > the given cgroup. This was noticed when the system was running > qemu/kvm with kernel vhost helper threads. It appears that the > vhost layer which uses cgroup_attach_task_all() fn to assign the > vhost kthread to the right qemu cgroup works fine with cgroupv1 > based configuration but not in cgroupv2. With cgroupv2, the vhost > helper thread ends up just belonging to the root cgroup as is > shown below: ... > Suggested-by: Tejun Heo <tj@xxxxxxxxxx> > Signed-off-by: Vishal Verma <vverma@xxxxxxxxxxxxxxxx> Applied to cgroup/for-5.16. Thanks. -- tejun