[RFC] arch: Introduce new TSO memory barrier smp_tmb()
Geert Uytterhoeven
geert at linux-m68k.org
Wed Nov 6 23:51:10 EST 2013
On Wed, Nov 6, 2013 at 1:39 PM, Peter Zijlstra <peterz at infradead.org> wrote:
> Documentation/memory-barriers.txt | 157 +++++++++++++++++-----------------
> arch/alpha/include/asm/barrier.h | 15 +++
> arch/arc/include/asm/barrier.h | 15 +++
> arch/arm/include/asm/barrier.h | 15 +++
> arch/arm64/include/asm/barrier.h | 50 ++++++++++
> arch/avr32/include/asm/barrier.h | 14 +++
> arch/blackfin/include/asm/barrier.h | 15 +++
> arch/cris/include/asm/barrier.h | 15 +++
> arch/frv/include/asm/barrier.h | 15 +++
> arch/h8300/include/asm/barrier.h | 15 +++
> arch/hexagon/include/asm/barrier.h | 15 +++
> arch/ia64/include/asm/barrier.h | 49 ++++++++++
> arch/m32r/include/asm/barrier.h | 15 +++
> arch/m68k/include/asm/barrier.h | 15 +++
> arch/metag/include/asm/barrier.h | 15 +++
> arch/microblaze/include/asm/barrier.h | 15 +++
> arch/mips/include/asm/barrier.h | 15 +++
> arch/mn10300/include/asm/barrier.h | 15 +++
> arch/parisc/include/asm/barrier.h | 15 +++
> arch/powerpc/include/asm/barrier.h | 21 ++++
> arch/s390/include/asm/barrier.h | 15 +++
> arch/score/include/asm/barrier.h | 15 +++
> arch/sh/include/asm/barrier.h | 15 +++
> arch/sparc/include/asm/barrier_32.h | 15 +++
> arch/sparc/include/asm/barrier_64.h | 15 +++
> arch/tile/include/asm/barrier.h | 15 +++
> arch/unicore32/include/asm/barrier.h | 15 +++
> arch/x86/include/asm/barrier.h | 15 +++
> arch/xtensa/include/asm/barrier.h | 15 +++
> include/linux/compiler.h | 9 +
> 30 files changed, 581 insertions(+), 79 deletions(-)
This is screaming for a default implementation in asm-generic.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the Linuxppc-dev
mailing list