59b6978745
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> |
||
---|---|---|
.. | ||
Makefile | ||
delay.c | ||
div64.c | ||
qrnnd.S | ||
spinlock.c | ||
string.c | ||
uaccess.h | ||
uaccess_mvcos.c | ||
uaccess_pt.c | ||
uaccess_std.c | ||
ucmpdi2.c | ||
usercopy.c |