Nick Piggin 418ccbe37f x86: lock bitops
I missed an obvious one!

x86 CPUs are defined not to reorder stores past earlier loads, so there is
no hardware memory barrier required to implement a release-consistent store
(all stores are, by definition).

So ditch the generic lock bitops, and implement optimised versions for x86,
which removes the mfence from __clear_bit_unlock (which is already a useful
primitive for SLUB).

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-10-23 22:37:22 +02:00
..
2007-10-23 12:37:59 +02:00
2007-10-19 11:53:54 -07:00
2007-10-23 09:49:31 +02:00
2007-10-23 22:37:22 +02:00
2007-10-23 20:38:41 +02:00
2007-10-23 08:09:20 +02:00