diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-03-24 13:39:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-03-24 13:39:27 -0700 |
commit | b0cb56cbbdb4754918c28d6d7c294d56e28a3dd5 (patch) | |
tree | 0ea5d93e6fb3b90e4af055ded02376f851e8fc4f /tools/testing/selftests/bpf/netlink_helpers.c | |
parent | 56e7a8b051512da8e7eb5c5a00dcc8e2065a89bb (diff) | |
parent | 0a7713ac0d98d02f2c69145754c93715ab07b307 (diff) | |
download | lwn-master.tar.gz lwn-master.zip |
Merge tag 'kernel-6.15-rc1.tasklist_lock' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfsHEADmaster
Pull tasklist_lock optimizations from Christian Brauner:
"According to the performance testbots this brings a 23% performance
increase when creating new processes:
- Reduce tasklist_lock hold time on exit:
- Perform add_device_randomness() without tasklist_lock
- Perform free_pid() calls outside of tasklist_lock
- Drop irq disablement around pidmap_lock
- Add some tasklist_lock asserts
- Call flush_sigqueue() lockless by changing release_task()
- Don't pointlessly clear TIF_SIGPENDING in __exit_signal() ->
clear_tsk_thread_flag()"
* tag 'kernel-6.15-rc1.tasklist_lock' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
pid: drop irq disablement around pidmap_lock
pid: perform free_pid() calls outside of tasklist_lock
pid: sprinkle tasklist_lock asserts
exit: hoist get_pid() in release_task() outside of tasklist_lock
exit: perform add_device_randomness() without tasklist_lock
exit: kill the pointless __exit_signal()->clear_tsk_thread_flag(TIF_SIGPENDING)
exit: change the release_task() paths to call flush_sigqueue() lockless
Diffstat (limited to 'tools/testing/selftests/bpf/netlink_helpers.c')
0 files changed, 0 insertions, 0 deletions