Cc: Andrew Morton <akpm@...>, Greg Kroah-Hartman <gregkh@...>, <linux-kernel@...>, Martin J. Bligh <mbligh@...>, Christoph Hellwig <hch@...>, Douglas Niehaus <niehaus@...>, Ingo Molnar <mingo@...>, <ltt-dev@...>, <systemtap@...>, Thomas Gleixner <tglx@...>
Sorry for the self reply.. looking at arch/sparc/lib/atomic32.c tells me that
local.h could use its own version that would only disable interrupts without
taking any hashed spinlock.
sparc64 seems to be a saner architecture providing atomic operations wrt the
local CPU. A barrier-free version of arch/sparc64/lib/atomic.S would improve
performance.
Mathieu
--
OpenPGP public key: http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
-