pub(super) fn drain_post_switch_local(
cpu: &mut SchedulerCpu,
take_drop: bool,
) -> Option<Arc<Task>>Expand description
Post-switch cleanup using only LOCAL state: re-enqueue the previous task and optionally extract the task-to-drop for deferred deallocation.