summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2025-02-06 17:44:11 +0100
committerChristian Brauner <brauner@kernel.org>2025-02-07 11:22:43 +0100
commit6731cd97e60d6f3a30057c0fc513aed543187104 (patch)
tree10e56d9ba6de1b363633fa2db2c6db843b43e410 /tools/perf/scripts/python/task-analyzer.py
parent1ab2785694971257f6a7dbd5a71bd8402b5fc305 (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