1
linux/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
..
delay.c [S390] Provide arch specific mdelay implementation. 2009-10-06 10:35:08 +02:00
div64.c [S390] __div64_31 broken for CONFIG_MARCH_G5 2009-03-18 13:28:12 +01:00
Makefile [S390] uaccess: implement strict user copy checks 2010-02-26 22:37:29 +01:00
qrnnd.S
spinlock.c [S390] spinlock: check virtual cpu running status 2010-02-26 22:37:31 +01:00
string.c [S390] use compiler builtin versions of strlen/strcpy/strcat 2009-03-26 15:24:24 +01:00
uaccess_mvcos.c [S390] Improve address space mode selection. 2009-12-07 12:51:33 +01:00
uaccess_pt.c [S390] Use do_exception() in pagetable walk usercopy functions. 2009-12-07 12:51:34 +01:00
uaccess_std.c [S390] Add EX_TABLE for addressing exception in usercopy functions. 2009-10-06 10:35:10 +02:00
uaccess.h
ucmpdi2.c [S390] add __ucmpdi2() helper function 2009-07-07 16:37:53 +02:00
usercopy.c [S390] uaccess: implement strict user copy checks 2010-02-26 22:37:29 +01:00