[PATCH 4/6] powerpc: Rename LWSYNC_ON_SMP to PPC_RELEASE_BARRIER, ISYNC_ON_SMP to PPC_ACQUIRE_BARRIER
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Mar 19 12:36:53 EST 2010
On Fri, 2010-03-19 at 12:08 +1100, Nick Piggin wrote:
> > - ISYNC_ON_SMP
> > + PPC_ACQUIRE_BARRIER
>
> I wonder if this shouldn't be called PPC_ISYNC_ACQUIRE_BARRIER ?
>
> Unlike PPC_RELEASE_BARRIER, it is not an acquire barrier unless it
> is used like an isync.
Right. The semantic of isync would be more something like
PPC_IFETCH_BARRIER or similar :-)
Cheers,
Ben.
More information about the Linuxppc-dev
mailing list