[v6, 1/4] atomics: Allow architectures to define their own __atomic_op_* helpers

Michael Ellerman mpe at ellerman.id.au
Mon Feb 22 20:45:55 AEDT 2016


On Tue, 2015-15-12 at 14:24:14 UTC, Boqun Feng wrote:
> Some architectures may have their special barriers for acquire, release
> and fence semantics, so that general memory barriers(smp_mb__*_atomic())
> in the default __atomic_op_*() may be too strong, so allow architectures
> to define their own helpers which can overwrite the default helpers.
> 
> Signed-off-by: Boqun Feng <boqun.feng at gmail.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/e1ab7f39d7e0dbfbdefe148be3

cheers


More information about the Linuxppc-dev mailing list