Messages in this thread | | | From | Waiman Long <> | Subject | [PATCH-tip v2 0/3] locking/rwsem: Miscellaneous rwsem enhancements | Date | Thu, 16 Feb 2023 16:09:30 -0500 |
| |
v2: - Break out some code refactoring into a separate patch. - Move the early handoff code from rwsem_wake() to rwsem_mark_wake() to cover all wakeup conditions as suggested by PeterZ. - Simplify the all reader wake up patch.
The second patch in this series is similar to patch 4 of the v7 patch series [1]. So it should provide similar performance benefit. Patch 3 is another minor enhancement about reader wakeup for some specific use cases.
[1] https://lore.kernel.org/lkml/20230126003628.365092-1-longman@redhat.com/
Waiman Long (3): locking/rwsem: Minor code refactoring in rwsem_mark_wake() locking/rwsem: Enable early rwsem writer lock handoff locking/rwsem: Wake up all readers for wait queue waker
kernel/locking/lock_events_list.h | 1 + kernel/locking/rwsem.c | 133 ++++++++++++++++++++++-------- 2 files changed, 99 insertions(+), 35 deletions(-)
-- 2.31.1
| |