linux/arch/s390
Gerald Schaefer 59b6978745 [S390] spinlock: check virtual cpu running status
This patch introduces a new function that checks the running status
of a cpu in a hypervisor. This status is not virtualized, so the check
is only correct if running in an LPAR. On acquiring a spinlock, if the
cpu holding the lock is scheduled by the hypervisor, we do a busy wait
on the lock. If it is not scheduled, we yield over to that cpu.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-02-26 22:37:31 +01:00
..
appldata const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
boot kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
crypto [S390] s390: PTR_ERR return of wrong pointer in fallback_init_cip() 2009-12-18 17:43:31 +01:00
hypfs [S390] Use strim instead of strstrip to avoid false warnings. 2009-12-18 17:43:33 +01:00
include/asm [S390] spinlock: check virtual cpu running status 2010-02-26 22:37:31 +01:00
kernel [S390] add MACHINE_IS_LPAR flag 2010-02-26 22:37:31 +01:00
kvm [S390] zfcpdump: remove cross arch dump support 2010-02-26 22:37:30 +01:00
lib [S390] spinlock: check virtual cpu running status 2010-02-26 22:37:31 +01:00
math-emu tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
mm [S390] use helpers for rlimits 2010-01-13 20:44:45 +01:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
defconfig [S390] Update default configuration. 2010-01-04 09:05:58 +01:00
Kconfig [S390] Improve address space mode selection. 2009-12-07 12:51:33 +01:00
Kconfig.debug [S390] uaccess: implement strict user copy checks 2010-02-26 22:37:29 +01:00
Makefile [S390] hibernation: merge files and move to kernel/ 2009-09-11 10:29:45 +02:00