Cgroupv2 - Reducing Parent Cgroup with exactly one child Cgroup to just one Cgroup
Let A be a cgroup, and assume that A only has B as a child cgroup, like this:
- A->B
Let B have 2 processes with PIDs 8888 and 9999, like this:
- A->B(8888, 9999)
Is there a way to move these two processes from cgroup B to cgroup A and remove cgroup B in the meanwhile, like this?:
- A(8888, 9999) **B is now gone as it is empty**
Writing 8888 and 9999 to `cgroup.procs` of cgroup A doesn't work due to the "No Internal Process Constraint" in cgroupv2. Any thoughts?
|