libprocessgroup: Use cgroup.kill
By using cgroup.kill we don't need to read cgroup.procs at all for SIGKILLs, which is more efficient and should help reduce CPU contention and cgroup lock contention. Fallback to cgroup.procs if we encounter an error trying to use cgroup.kill, but if cgroup.kill fails it's likely that cgroup.procs will too. Bug: 239829790 Change-Id: I44706faccfb7c4611b512a3642b913f06d30c1dc
Loading
Please register or sign in to comment