1
linux/arch/s390/lib
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
..
delay.c [PATCH] s390: fix __delay implementation 2006-02-14 16:09:35 -08:00
Makefile [PATCH] s390: Remove CVS generated information 2006-02-01 08:53:23 -08:00
spinlock.c [PATCH] s390: Increase spinlock retry code performance 2006-03-09 19:47:38 -08:00
string.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uaccess64.S [PATCH] s390: fix strnlen_user return value 2006-03-08 14:14:01 -08:00
uaccess.S [PATCH] s390: fix strnlen_user return value 2006-03-08 14:14:01 -08:00