On Mon, Jun 17, 2024 at 04:31:52PM +0200, Oleg Nesterov wrote: > cgroup_exit() needs to do this only if the exiting task is a leader and it > is not the last live thread. The patch doesn't use delay_group_leader(), > atomic_read(signal->live) matches the code css_task_iter_advance() more. > > cgroup_release() can now check list_empty(task->cg_list) before it takes > css_set_lock and calls ss_set_skip_task_iters(). > > Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> Applied to cgroup/for-6.11. Thanks. -- tejun