Patch 1 is just a simple cleanup patch. Patches 2 and 3 applies the same
consistent rules to optionally wake up waiters in reader & writers
slowpaths as well as in the out_nolock paths.
Waiman Long (3):
locking/rwsem: No need to check for handoff bit if wait queue empty
locking/rwsem: Conditionally wake waiters in reader/writer slowpaths
locking/rwsem: Always try to wake waiters in out_nolock path
kernel/locking/rwsem.c | 121 ++++++++++++++++++++++++-----------------
1 file changed, 70 insertions(+), 51 deletions(-)
--
2.27.0