#435
kill_pg could use cgroups if available
Killing a process tree is a hard problem. In dinit, it is currently done via process groups:
Linux 5.14 added cgroup.kill, which can be used to atomically SIGKILL entire cgroup: https://lwn.net/Articles/855049/
Could dinit also use it, if compiled with cgroup support enabled?
Activity
5Yes, at some point there should be consideration of this. The cgroups support in general needs to be enhanced and there is already a ticket for that in #397
(However, this will be post-1.0).
(However, this will be post-1.0).
Any progress on this? I'm dealing with extreme cgroup-related pain on OpenRC and this would be awesome
Yes, at some point there should be consideration of this. The cgroups support in general needs to be enhanced and there is already a ticket for that in #397