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
..
Makefile
delay.c
spinlock.c [PATCH] s390: Increase spinlock retry code performance 2006-03-09 19:47:38 -08:00
string.c
uaccess.S [PATCH] s390: fix strnlen_user return value 2006-03-08 14:14:01 -08:00
uaccess64.S [PATCH] s390: fix strnlen_user return value 2006-03-08 14:14:01 -08:00