aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2025-04-11 12:18:57 +0000
committerChristian Brauner <[email protected]>2025-04-14 19:44:10 +0000
commit0a36bad01731e71568bdd365764d38b6bd576ab0 (patch)
tree246a0e43ae800911888bd19da32c9c041e72fa46 /net/unix/af_unix.c
parentMerge patch series "pidfs: ensure consistent ENOENT/ESRCH reporting" (diff)
downloadkernel-0a36bad01731e71568bdd365764d38b6bd576ab0.tar.gz
kernel-0a36bad01731e71568bdd365764d38b6bd576ab0.zip
release_task: kill the no longer needed get/put_pid(thread_pid)
After the commit 7903f907a2260 ("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]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions