[PATCH v2 tip/core/rcu 0/10] Remove spin_unlock_wait()

From: Paul E. McKenney
Date: Mon Jul 31 2017 - 18:58:19 EST


Hello!

This series removes spin_unlock_wait():

1. Revert over-enthusiastic spin_unlock_wait() header comment.

2. Remove spin_unlock_wait() from net/netfilter/nf_conntrack_core,
courtesy of Manfred Spraul.

3. Replace task_work use of spin_unlock_wait() with lock/unlock
pair, courtesy of Oleg Nesterov.

4. Replace scheduler use of spin_unlock_wait() with lock/unlock pair.

5. Replace completion use of spin_unlock_wait() with lock/unlock
pair.

6. Replace exit() use of spin_unlock_wait() with lock/unlock pair.

7. Replace IPC use of spin_unlock_wait() with lock/unlock pair.

8. Replace ATA use of spin_unlock_wait() with lock/unlock pair.

9. Remove generic definition of spin_unlock_wait().

10. Remove architecture-specific definitions of spin_unlock_wait().

Thanx, Paul

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

arch/alpha/include/asm/spinlock.h | 5 -
arch/arc/include/asm/spinlock.h | 5 -
arch/arm/include/asm/spinlock.h | 16 ----
arch/arm64/include/asm/spinlock.h | 58 +----------------
arch/blackfin/include/asm/spinlock.h | 5 -
arch/hexagon/include/asm/spinlock.h | 5 -
arch/ia64/include/asm/spinlock.h | 21 ------
arch/m32r/include/asm/spinlock.h | 5 -
arch/metag/include/asm/spinlock.h | 5 -
arch/mn10300/include/asm/spinlock.h | 5 -
arch/parisc/include/asm/spinlock.h | 7 --
arch/powerpc/include/asm/spinlock.h | 33 ---------
arch/s390/include/asm/spinlock.h | 7 --
arch/sh/include/asm/spinlock-cas.h | 5 -
arch/sh/include/asm/spinlock-llsc.h | 5 -
arch/sparc/include/asm/spinlock_32.h | 5 -
arch/tile/include/asm/spinlock_32.h | 2
arch/tile/include/asm/spinlock_64.h | 2
arch/tile/lib/spinlock_32.c | 23 ------
arch/tile/lib/spinlock_64.c | 22 ------
arch/xtensa/include/asm/spinlock.h | 5 -
drivers/ata/libata-eh.c | 8 --
include/asm-generic/qspinlock.h | 14 ----
include/linux/spinlock.h | 31 ---------
include/linux/spinlock_up.h | 6 -
ipc/sem.c | 3
kernel/exit.c | 3
kernel/locking/qspinlock.c | 117 -----------------------------------
kernel/sched/completion.c | 9 --
kernel/sched/core.c | 5 -
kernel/task_work.c | 8 --
net/netfilter/nf_conntrack_core.c | 52 ++++++++-------
32 files changed, 48 insertions(+), 454 deletions(-)