locking: Remove smp_read_barrier_depends() from queued_spin_lock_slowpath()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 18 Dec 2018 22:10:40 +0000 (23:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Dec 2018 13:11:33 +0000 (14:11 +0100)
commitc3b6e79fbf295c9cda4dd1828a8f0593cad53d48
tree698fd5c530c07fef83f3457a1340b9f6dd16f299
parentd395117fac7943da6966ccbac3b95651f5581f15
locking: Remove smp_read_barrier_depends() from queued_spin_lock_slowpath()

commit 548095dea63ffc016d39c35b32c628d033638aca upstream.

Queued spinlocks are not used by DEC Alpha, and furthermore operations
such as READ_ONCE() and release/relaxed RMW atomics are being changed
to imply smp_read_barrier_depends().  This commit therefore removes the
now-redundant smp_read_barrier_depends() from queued_spin_lock_slowpath(),
and adjusts the comments accordingly.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/locking/qspinlock.c