fn finalize_forced_death(
sched: &mut GlobalSchedState,
task_id: TaskId,
exit_code: i32,
task_pid: Pid,
) -> (Option<TaskId>, Option<usize>)Expand description
Performs the finalize forced death operation.
Lock order: caller holds GLOBAL_SCHED_STATE (rank 1). This function acquires SCHED_IDENTITY write (rank 2) exactly once.