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
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_BARRIERI 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.