exit: hoist get_pid() in release_task() outside of tasklist_lock
Reduces hold time as get_pid() contains an atomic. Reviewed-by:Oleg Nesterov <oleg@redhat.com> Signed-off-by:
Mateusz Guzik <mjguzik@gmail.com> Link: https://lore.kernel.org/r/20250206164415.450051-3-mjguzik@gmail.com Acked-by:
"Liam R. Howlett" <Liam.Howlett@Oracle.com> Signed-off-by:
Christian Brauner <brauner@kernel.org>
Loading
Please sign in to comment