Skip to content

arm64: spinlock and lockref updates for 3.13

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: locks: introduce ticket-based spinlock implementationarch/arm64/include/asm/spinlock.h arch/arm64/include/asm/spinlock_types.h+58 -310 replies
2/3arm64: lockref: add support for lockless lockrefs using cmpxchgarch/arm64/Kconfig arch/arm64/include/asm/spinlock.h+7 -20 replies
3/3arm64: cmpxchg: implement cmpxchg64_relaxedarch/arm64/include/asm/cmpxchg.h+2 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchCatalin Marinas
1/3R-b
2/3
3/3

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/3] arm64: spinlock and lockref updates for 3.13

Hello,

This patch series adds a ticket-lock implementation for arm64, and then builds on top of this to implement the lockless lockref implementation in a very similar fashion to what I previously posted for ARM.

All feedback welcome,

Will

Will Deacon (3):
arm64: locks: introduce ticket-based spinlock implementation
arm64: lockref: add support for lockless lockrefs using cmpxchg
arm64: cmpxchg: implement cmpxchg64_relaxed

 arch/arm64/Kconfig                      |  1 +
 arch/arm64/include/asm/cmpxchg.h        |  2 +
 arch/arm64/include/asm/spinlock.h       | 83 ++++++++++++++++++++++-----------
 arch/arm64/include/asm/spinlock_types.h | 10 ++--
 4 files changed, 65 insertions(+), 31 deletions(-)
Signature · 1 line
1.8.2.2