locking/rwsem: Miscellaneous rwsem enhancements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 4 repliesIn review
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- 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.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | locking/rwsem: Minor code refactoring in rwsem_mark_wake()kernel/ | +22 | 0 replies | |
| 2/3 | locking/rwsem: Enable early rwsem writer lock handoffkernel/ kernel/ | +64 | 4 replies | |
| 3/3 | locking/rwsem: Wake up all readers for wait queue wakerkernel/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH-tip v2 0/3] locking/rwsem: Miscellaneous rwsem enhancements
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/[email protected]/
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(-)
Signature · 1 line
2.31.1