cgroup-util: kill also threads
It's possible for a zombie process to have live threads. These are not listed in /sys in "cgroup.procs" for cgroupsv2, but they show up in "cgroup.threads" (cgroupv2) or "tasks" (cgroupv1) nodes. When killing a cgroup (v2 only) with SIGKILL, let's also kill threads after killing processes, so the live threads of a zombie get killed too. Closes #12262. (cherry picked from commit e48fcfef)
Loading