kernel-ark/arch
Christian Ehrhardt 96567161de [PATCH] s390: Increase spinlock retry code performance
Currently the code tries up to spin_retry times to grab a lock using the cs
instruction.  The cs instruction has exclusive access to a memory region
and therefore invalidates the appropiate cache line of all other cpus.  If
there is contention on a lock this leads to cache line trashing.  This can
be avoided if we first check wether a cs instruction is likely to succeed
before the instruction gets actually executed.

Signed-off-by: Christian Ehrhardt <ehrhardt@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-09 19:47:38 -08:00
..
alpha [PATCH] alpha: fix IRQ handling lockup 2006-03-09 19:47:37 -08:00
arm
arm26
cris
frv
h8300
i386
ia64
m32r
m68k
m68knommu
mips [MIPS] Always pass -msoft-float. 2006-03-09 18:05:10 +00:00
parisc
powerpc Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge 2006-03-08 18:11:00 -08:00
ppc
s390 [PATCH] s390: Increase spinlock retry code performance 2006-03-09 19:47:38 -08:00
sh [PATCH] arch/sh/Kconfig: don't source non-existing Kconfig files 2006-03-09 19:47:37 -08:00
sh64
sparc
sparc64
um
v850
x86_64
xtensa [PATCH] xtensa must set RWSEM_GENERIC_SPINLOCK=y 2006-03-09 19:47:37 -08:00