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

From: Paul E. McKenney
Date: Sun Apr 01 2018 - 14:27:42 EST


On Sun, Apr 01, 2018 at 06:41:49PM +0200, Andrea Parri wrote:
> 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.

I queued these on my lkmm branch and pushed them to -rcu, thank you!

I did rework the commit logs a bit, most notably to add the URLs of
the specific messages discussion the spin_is_locked() investigation.
Please take a look and let me know if I have broken something.

Thanx, Paul

> Cheers,
> Andrea
>
> [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(-)
>
> --
> 2.7.4
>