Skip to content

RFC smp_cond_load_acquire + cmpwait

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3locking: Replace smp_cond_acquire with smp_cond_load_acquireinclude/linux/compiler.h kernel/locking/qspinlock.c kernel/sched/core.c +2 more+31 -181 reply
2/3locking/qrwlock: Use smp_cond_load_acquire()kernel/locking/qrwlock.c+4 -142 replies
3/3locking,arm64: Introduce cmpwait()arch/arm64/include/asm/cmpxchg.h include/linux/atomic.h include/linux/compiler.h+83 -3011 replies

Reviews trailers per patch

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

PatchWill Deacon
1/3Requested-by
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 [RFC][PATCH 0/3] smp_cond_load_acquire + cmpwait

As Will reminded me last week; we still had some pending changes.

A number of patches that allow arm64 to use a monitor/mwait like construct to avoid most spin waiting.

Compile and boot tested on x86_64, but I seem to have misplaced my arm64 compiler so that part is still a rough sketch mostly.