Skip to content

rwsem enhancement patches for 5.10

Jaegeuk Kim stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7locking/rwsem: Better collate rwsem_read_trylock()kernel/locking/rwsem.c+8 -70 replies
2/7locking/rwsem: Introduce rwsem_write_trylock()kernel/locking/rwsem.c+16 -220 replies
3/7locking/rwsem: Fold __down_{read,write}*()kernel/locking/rwsem.c+23 -220 replies
4/7locking/rwsem: Pass the current atomic count to rwsem_down_read_slowpath()kernel/locking/rwsem.c+10 -80 replies
5/7locking/rwsem: Prevent potential lock starvationkernel/locking/rwsem.c+13 -20 replies
6/7locking/rwsem: Enable reader optimistic lock stealingkernel/locking/lock_events_list.h kernel/locking/rwsem.c+29 -00 replies
7/7locking/rwsem: Remove reader optimistic spinningkernel/locking/lock_events_list.h kernel/locking/rwsem.c+49 -2400 replies

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchDavidlohr Bueso
1/7
2/7
3/7
4/7R-b
5/7R-b
6/7R-b
7/7R-b

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 0/7] rwsem enhancement patches for 5.10

Per discussion [1], can we merge these patches in 5.10 first?

[1] https://lore.kernel.org/linux-f2fs-devel/CAEe=Sx=6FCvrp_6x2Bqp3YTzep2s=aWdCmP29g7+sGCWkpNvkg@mail.gmail.com/T/#t

Peter Zijlstra (3):
locking/rwsem: Better collate rwsem_read_trylock() locking/rwsem: Introduce rwsem_write_trylock() locking/rwsem: Fold __down_{read,write}*()

Waiman Long (4):
locking/rwsem: Pass the current atomic count to
rwsem_down_read_slowpath()
locking/rwsem: Prevent potential lock starvation locking/rwsem: Enable reader optimistic lock stealing locking/rwsem: Remove reader optimistic spinning

 kernel/locking/lock_events_list.h |   6 +-
 kernel/locking/rwsem.c            | 359 +++++++++---------------------
 2 files changed, 106 insertions(+), 259 deletions(-)
Signature · 1 line
2.34.1.703.g22d0c6ccf7-goog