The rest is not relevant to this function and it does not help understanding the function. Another thought - add a link to `get_pid_ns`: @@ -307,6 +307,8 @@ pub fn mm(&self) -> Option<&MmWithUser> { /// Access the pid namespace of the current task. /// /// This function does not touch the refcount of the namespace or use RCU protection. + /// + /// To access the pid namespace of another task, see [`Task::get_pid_ns`]. #[doc(alias = "task_active_pid_ns")] #[inline] pub fn active_pid_ns(&self) -> Option<&PidNamespace> { Best regards, Andreas Hindborg