Re: [PATCH -v2 4/6] locking, arch: Update spin_unlock_wait()

2016-05-27 Thread Chris Metcalf
On 5/27/2016 5:05 AM, Peter Zijlstra wrote: On Thu, May 26, 2016 at 05:10:36PM -0400, Chris Metcalf wrote: On 5/26/2016 10:19 AM, Peter Zijlstra wrote: --- a/arch/tile/lib/spinlock_32.c +++ b/arch/tile/lib/spinlock_32.c @@ -72,10 +72,14 @@ void arch_spin_unlock_wait(arch_spinlock

Re: [PATCH -v2 4/6] locking, arch: Update spin_unlock_wait()

2016-05-26 Thread Chris Metcalf
on so that's that. Then we READ_ONCE the next load on the lock from within the wait loop, so our load/load ordering is guaranteed. With that change, Acked-by: Chris Metcalf <cmetc...@mellanox.com> [for tile] -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com -- To unsu