custom_cgroup_remove_midrun

Function custom_cgroup_remove_midrun 

Source
pub fn custom_cgroup_remove_midrun(ctx: &Ctx<'_>) -> Result<AssertResult>
Expand description

Remove half of up to four cgroups mid-run.

The kept half (cg_0, cg_1) lives on the Backdrop and persists across both Steps. The ephemeral half (cg_2 / cg_3, up to the topology limit) is a step-local Step-0 CgroupDef set whose automatic per-Step teardown IS the “remove mid-run” event — no explicit Op::stop_cgroup / Op::remove_cgroup ops required. Step 1 is then a pure hold with only the Backdrop cgroups still present.