custom_cgroup_load_oscillation

Function custom_cgroup_load_oscillation 

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

Oscillate load between two cgroups across four phases.

Each phase declares fresh step-local cg_0 / cg_1 CgroupDefs with the heavy/light assignment swapped from the prior phase. The per-Step auto-teardown at every step boundary IS the “stop + respawn” event — there’s no cross-step reference so no Backdrop is needed. A Backdrop migration would fight the Op::MoveAllTasks Backdrop->step-local guard (dispatch.rs) that protects persistent workers from step-local teardown, so this scenario stays on execute_steps.