]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] futex: remove unneeded barrier
authorRalf Baechle <ralf@linux-mips.org>
Thu, 7 Dec 2006 04:40:26 +0000 (20:40 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:45 +0000 (08:39 -0800)
commitccdea2f88b5689f0fd29c3804be43a3acf0311e3
tree573e44a4107850e6e8a61c5845c7e60beeecb27a
parente384bd1692bab6a1d9aa40c849ac373a68769de2
[PATCH] futex: remove unneeded barrier

When disassembling a kernel I found around over 90 sync Instructions from
mb, rmb and wmb calls in the kernel and only few of those make any sense to
me.  So here's the first one - I think the wmb() in kernel/futex.c is not
needed on uniprocessors so should become an smb_wmb().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/futex.c