linux-stable-rt/arch/s390/kernel
Martin Schwidefsky 951f22d5b1 [PATCH] s390: spin lock retry
Split spin lock and r/w lock implementation into a single try which is done
inline and an out of line function that repeatedly tries to get the lock
before doing the cpu_relax().  Add a system control to set the number of
retries before a cpu is yielded.

The reason for the spin lock retry is that the diagnose 0x44 that is used to
give up the virtual cpu is quite expensive.  For spin locks that are held only
for a short period of time the costs of the diagnoses outweights the savings
for spin locks that are held for a longer timer.  The default retry count is
1000.

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>
2005-07-27 16:26:04 -07:00
..
Makefile [PATCH] kexec: s390 support 2005-06-25 16:24:51 -07:00
asm-offsets.c
binfmt_elf32.c
bitmap.S
compat_exec_domain.c
compat_ioctl.c [PATCH] s390: #ifdefs in compat_ioctls 2005-06-21 19:07:33 -07:00
compat_linux.c [PATCH] s390: fadvise hint values. 2005-07-13 11:25:24 -07:00
compat_linux.h [PATCH] compat: introduce compat_time_t 2005-06-23 09:45:32 -07:00
compat_ptrace.h
compat_signal.c
compat_wrapper.S [PATCH] s390: fadvise hint values. 2005-07-13 11:25:24 -07:00
cpcmd.c [PATCH] s390: add vmcp interface 2005-06-25 16:24:37 -07:00
crash.c [PATCH] kdump: Use real pt_regs from exception 2005-06-25 16:24:54 -07:00
debug.c [PATCH] s390: debug feature changes 2005-06-25 16:24:37 -07:00
ebcdic.c
entry.S [PATCH] s390: improved machine check handling 2005-06-25 16:24:37 -07:00
entry64.S [PATCH] s390: improved machine check handling 2005-06-25 16:24:37 -07:00
head.S [PATCH] s390: pending interrupt after ipl from reader 2005-06-21 19:07:34 -07:00
head64.S [PATCH] s390: spin lock retry 2005-07-27 16:26:04 -07:00
init_task.c
irq.c
machine_kexec.c [PATCH] kexec code cleanup 2005-06-25 16:24:55 -07:00
module.c
process.c [PATCH] s390: improved machine check handling 2005-06-25 16:24:37 -07:00
profile.c
ptrace.c [PATCH] s390: uml ptrace fixes 2005-06-04 17:13:00 -07:00
reipl.S
reipl64.S
relocate_kernel.S [PATCH] kexec: s390 support 2005-06-25 16:24:51 -07:00
relocate_kernel64.S [PATCH] kexec: s390 support 2005-06-25 16:24:51 -07:00
s390_ext.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s390_ksyms.c [PATCH] s390: default storage key 2005-05-01 08:58:58 -07:00
semaphore.c
setup.c [PATCH] s390: spin lock retry 2005-07-27 16:26:04 -07:00
signal.c
smp.c [PATCH] s390: add vmcp interface 2005-06-25 16:24:37 -07:00
sys_s390.c
syscalls.S [PATCH] kexec: s390 support 2005-06-25 16:24:51 -07:00
time.c
traps.c [PATCH] s390: add vmcp interface 2005-06-25 16:24:37 -07:00
vmlinux.lds.S
vtime.c