linux-stable-rt/arch/s390/lib
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
..
Makefile [S390] uaccess: implement strict user copy checks 2010-02-26 22:37:29 +01:00
delay.c
div64.c
qrnnd.S
spinlock.c [S390] spinlock: check virtual cpu running status 2010-02-26 22:37:31 +01:00
string.c
uaccess.h
uaccess_mvcos.c
uaccess_pt.c
uaccess_std.c
ucmpdi2.c
usercopy.c [S390] uaccess: implement strict user copy checks 2010-02-26 22:37:29 +01:00