summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2025-03-19 20:54:36 +0100
committerAndrew Morton <akpm@linux-foundation.org>2025-05-11 17:54:07 -0700
commitfe6f600c43e0931f4fb5e1debb2311b7a6ebabd8 (patch)
treed1ffa033fa5cc6900f2c5192bed95e716668750a /scripts/gdb/linux/utils.py
parent3eff6a3e574c2f704f9be1f4867c3d0b3d804435 (diff)
exit: combine work under lock in synchronize_group_exit() and coredump_task_exit()
This reduces single-threaded overhead as it avoids one lock+irq trip on exit. It also improves scalability of spawning and killing threads within one process (just shy of 5% when doing it on 24 cores on my test jig). Both routines are moved below kcov and kmsan exit, which should be harmless. Link: https://lkml.kernel.org/r/20250319195436.1864415-1-mjguzik@gmail.com Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions