pub fn detach_current_address_space() -> Result<(), TaskError>
Detaches the running user task from its address space before exit publication, matching Linux exit_mm ordering.
exit_mm