Re: [RFC][PATCH] mips: Fix arch_spin_unlock()

From: Peter Zijlstra
Date: Tue Feb 02 2016 - 12:23:50 EST




On 2 February 2016 07:44:33 CET, "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> wrote:

>
>> If so, do we also need to take the following pairing into
>consideration?
>>
>> o smp_store_release() -> READ_ONCE(); if ;smp_rmb(); <ACCESS_ONCE()>


We rely on this with smp_cond_aquire() to extend the chain.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.