Skip to content

locking/rwsem: Miscellaneous cleanup and fix

Waiman Long lkml 2 versions – Applied

Status from this message: The following commit has been merged into the locking/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesApplied
  2. v12 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3locking/rwsem: No need to check for handoff bit if wait queue emptykernel/locking/rwsem.c+4 -50 replies
2/3locking/rwsem: Conditionally wake waiters in reader/writer slowpathskernel/locking/rwsem.c+32 -360 replies
3/3locking/rwsem: Always try to wake waiters in out_nolock pathkernel/locking/rwsem.c+34 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] locking/rwsem: Miscellaneous cleanup and fix

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(-)
Signature · 1 line
2.27.0