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
..
2008-12-25 13:38:55 +01:00
2009-06-12 10:27:30 +02:00
2009-09-11 10:29:56 +02:00
2010-02-26 22:37:29 +01:00
2009-03-26 15:24:05 +01:00
2009-12-16 07:20:12 -08:00
2008-12-25 13:39:06 +01:00
2008-12-25 13:38:57 +01:00
2009-09-22 07:17:42 -07:00
2010-02-26 22:37:30 +01:00
2009-09-11 10:29:54 +02:00
2009-06-12 10:27:31 +02:00
2010-02-26 22:37:31 +01:00
2010-01-13 20:44:46 +01:00
2009-03-26 15:24:05 +01:00