Skip to main content

cleanup_robust_list

Function cleanup_robust_list 

Source
pub fn cleanup_robust_list(task: &Task)
Expand description

Walk the robust list for a dying task and mark owned futexes as “owner died”.

Called from exit_current_task() before the task’s address space is torn down.

§Safety

Reads userspace memory at robust_list_head. The address space must still be valid (not yet freed).