[PATCH v3 0/3] Changes, clean-ups and documentation for spin_is_locked()

From: Andrea Parri
Date: Sun Apr 01 2018 - 12:42:28 EST

Hi Paul,

This series gathers the change to the arm64 implementation of spin_is_locked()
and the clean-up to the generic (q)spinlock presented in [1] together with the
patch adding the docbook header to spin_is_locked() [2].

Apart from minor adjustments to the commit messages, the patches are unchanged.


[1] https://marc.info/?l=linux-kernel&m=152223038924258&w=2
[2] https://marc.info/?l=linux-kernel&m=151981440005264&w=2

Cc: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
Cc: Will Deacon <will.deacon@xxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>

Andrea Parri (3):
arm64: Remove smp_mb() from arch_spin_is_locked()
locking: Clean-up comment and #ifndef for {,queued_}spin_is_locked()
Documentation/locking: Document the semantics of spin_is_locked()

arch/arm64/include/asm/spinlock.h | 5 -----
include/asm-generic/qspinlock.h | 2 --
include/linux/mutex.h | 3 ---
include/linux/spinlock.h | 11 +++++++++++
4 files changed, 11 insertions(+), 10 deletions(-)