[PATCH tip/core/rcu 2/3] srcu: Force full grace-period ordering

Ingo Molnar mingo at kernel.org
Sun Jan 15 20:40:58 AEDT 2017


* Paul E. McKenney <paulmck at linux.vnet.ibm.com> wrote:

> > [sounds of rummaging around in the Git tree]
> > 
> > I found this commit of yours from ancient history (more than a year ago!):
> > 
> >   commit 12d560f4ea87030667438a169912380be00cea4b
> >   Author: Paul E. McKenney <paulmck at linux.vnet.ibm.com>
> >   Date:   Tue Jul 14 18:35:23 2015 -0700
> > 
> >     rcu,locking: Privatize smp_mb__after_unlock_lock()
> >     
> >     RCU is the only thing that uses smp_mb__after_unlock_lock(), and is
> >     likely the only thing that ever will use it, so this commit makes this
> >     macro private to RCU.
> >     
> >     Signed-off-by: Paul E. McKenney <paulmck at linux.vnet.ibm.com>
> >     Cc: Will Deacon <will.deacon at arm.com>
> >     Cc: Peter Zijlstra <peterz at infradead.org>
> >     Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> >     Cc: "linux-arch at vger.kernel.org" <linux-arch at vger.kernel.org>
> > 
> > So I concur and I'm fine with your patch - or with the status quo code as well.
> 
> I already have the patch queued, so how about I keep it if I get an ack
> from the powerpc guys and drop it otherwise?

Yeah, sounds good! Your patch made me look up 'RelAcq' so it has documentation 
value as well ;-)

Thanks,

	Ingo


More information about the Linuxppc-dev mailing list