Skip to content

locking/rwbase: Two reader optimizations

Davidlohr Bueso lkml 1 version 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

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2locking/rwbase: Optimize rwbase_read_trylockkernel/locking/rwbase_rt.c+2 -30 replies
2/2locking/rwbase: Lockless reader waking up a writerkernel/locking/rtmutex.c kernel/locking/rwbase_rt.c+18 -70 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWaiman Long
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH -tip 0/2] locking/rwbase: Two reader optimizations

Hi,

Patch 1 is a barrier optimization that came up from the reader fastpath ordering auditing.

Patch 2 is a resend of the previous broken patch that attempts to use wake_q for read_unlock() slowpath.

Tested on v5.15.y-rt. Applies against tip/urgent.

Thanks!

Davidlohr Bueso (2):
locking/rwbase: Optimize rwbase_read_trylock locking/rwbase: Lockless reader waking up a writer

 kernel/locking/rtmutex.c   | 19 +++++++++++++------
 kernel/locking/rwbase_rt.c | 11 +++++++----
 2 files changed, 20 insertions(+), 10 deletions(-)

--
2.26.2