You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
release_task: kill the no longer needed get/put_pid(thread_pid)
After the commit 7903f90 ("pid: perform free_pid() calls outside
of tasklist_lock") __unhash_process() -> detach_pid() no longer calls
free_pid(), proc_flush_pid() can just use p->thread_pid without the
now pointless get_pid() + put_pid().
Signed-off-by: Oleg Nesterov <[email protected]>
Link: https://lore.kernel.org/[email protected]
Reviewed-by: Mateusz Guzik <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
0 commit comments