[PATCH memory-model 0/3] Kernel fixes to spin_is_locked()

From: Paul E. McKenney
Date: Mon May 14 2018 - 18:59:46 EST


Hello!

This series contains fixes to the kernel related to the semantics
of spin_is_locked(), all courtesy of Andrea Parri, and all ready for
inclusion in -tip:

1. Document the semantics of spin_is_locked() by adding a docbook
header comment.

2. Remove smp_mb() from arch_spin_is_locked(), given that the
new order-free spin_is_locked() semantics require no such barrier.

3. Clean up comment and #ifndef for {,queued_}spin_is_locked().
The comment was "XXX think about spin_is_locked", and I can
attest that we have now done some serious thinking. ;-)

Thanx, Paul

------------------------------------------------------------------------