lkml.org 
[lkml]   [2023]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH-tip v2 0/3] locking/rwsem: Miscellaneous rwsem enhancements
Date
 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

\
 
 \ /
  Last update: 2023-03-27 00:26    [W:0.074 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site