kernel_optimize_test/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
spinlock.c [PATCH] s390: Increase spinlock retry code performance 2006-03-09 19:47:38 -08:00
string.c
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