]> nv-tegra.nvidia Code Review - linux-3.10.git/commit
[PATCH] use smp_mb/wmb/rmb where possible
authorakpm@osdl.org <akpm@osdl.org>
Sun, 1 May 2005 15:58:47 +0000 (08:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:58:47 +0000 (08:58 -0700)
commitd59dd4620fb8d6422555a9e2b82a707718e68327
tree78205657d24efcaa3f8314064951ac3814ed95a7
parent0d8d4d42f2d00eb65262b49f4edd4cf7ef4eb6fc
[PATCH] use smp_mb/wmb/rmb where possible

Replace a number of memory barriers with smp_ variants.  This means we won't
take the unnecessary hit on UP machines.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/buffer.c
ipc/mqueue.c
kernel/kthread.c
kernel/profile.c
kernel/ptrace.c
kernel/stop_machine.c
kernel/sys.c
kernel/timer.c
lib/rwsem-spinlock.c
lib/rwsem.c
mm/mempool.c