Thread (19 messages) 19 messages, 4 authors, 2010-03-19

Re: [PATCH 4/6] powerpc: Rename LWSYNC_ON_SMP to PPC_RELEASE_BARRIER, ISYNC_ON_SMP to PPC_ACQUIRE_BARRIER

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2010-03-19 01:37:00

On Fri, 2010-03-19 at 12:08 +1100, Nick Piggin wrote:
quoted
-     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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help