Skip to content

Switch arm64 over to qrwlock

Will Deacon linux-arm-kernel lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 6 repliesIn review
  2. v25 patches 14 repliesSuperseded
  3. v16 patches 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5kernel/locking: Use struct qrwlock instead of struct __qrwlockinclude/asm-generic/qrwlock.h include/asm-generic/qrwlock_types.h kernel/locking/qrwlock.c+16 -370 replies
2/5locking/atomic: Add atomic_cond_read_acquireinclude/asm-generic/atomic-long.h include/linux/atomic.h+7 -00 replies
3/5kernel/locking: Use atomic_cond_read_acquire when spinning in qrwlockinclude/asm-generic/qrwlock.h kernel/locking/qrwlock.c+14 -400 replies
4/5arm64: locking: Move rwlock implementation over to qrwlocksarch/arm64/Kconfig arch/arm64/include/asm/Kbuild arch/arm64/include/asm/spinlock.h +1 more+20 -1680 replies
5/5kernel/locking: Prevent slowpath writers getting held up by fastpathinclude/asm-generic/qrwlock.h include/asm-generic/qrwlock_types.h kernel/locking/qrwlock.c+14 -370 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchWaiman LongJeremy LintonAdam WallisJan Glauber
SeriesT-b
1/5
2/5
3/5T-b T-b T-b T-b
4/5T-b T-b T-b T-b
5/5T-b T-b T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/5] Switch arm64 over to qrwlock

Hello,

This is version three of the patches previously posted here:

v1: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-October/534666.html
v2: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-October/534981.html

Changes since v2 include:

* Drop unused cnt argument
* Fix typo in UNLOCK Kconfig inlining options
* Added Tested-by tags

Thanks to all of those who provided review and testing feedback!

Will

--->8

Will Deacon (5):
kernel/locking: Use struct qrwlock instead of struct __qrwlock locking/atomic: Add atomic_cond_read_acquire kernel/locking: Use atomic_cond_read_acquire when spinning in qrwlock
arm64: locking: Move rwlock implementation over to qrwlocks kernel/locking: Prevent slowpath writers getting held up by fastpath

 arch/arm64/Kconfig                      |  17 ++++
 arch/arm64/include/asm/Kbuild           |   1 +
 arch/arm64/include/asm/spinlock.h       | 164 +-------------------------------
 arch/arm64/include/asm/spinlock_types.h |   6 +-
 include/asm-generic/atomic-long.h       |   3 +
 include/asm-generic/qrwlock.h           |  37 ++-----
 include/asm-generic/qrwlock_types.h     |  15 ++-
 include/linux/atomic.h                  |   4 +
 kernel/locking/qrwlock.c                |  86 +++--------------
 9 files changed, 61 insertions(+), 272 deletions(-)
Signature · 1 line
2.1.4