exit: perform add_device_randomness() without tasklist_lock
Parallel calls to add_device_randomness() contend on their own. The clone side aleady runs outside of tasklist_lock, which in turn means any caller on the exit side extends the tasklist_lock hold time while contending on the random-private lock. Reviewed-by:Oleg Nesterov <oleg@redhat.com> Signed-off-by:
Mateusz Guzik <mjguzik@gmail.com> Link: https://lore.kernel.org/r/20250206164415.450051-2-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