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