diff options
author | Mateusz Guzik <mjguzik@gmail.com> | 2025-02-06 17:44:10 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-02-07 11:22:43 +0100 |
commit | 1ab2785694971257f6a7dbd5a71bd8402b5fc305 (patch) | |
tree | 29bac9b3584e866b1af9241af4ac5e93fb20c2ae /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 33be3ffd30b3ae67c7a1a405f98b963fd915d61a (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions