Searched hist:b8cee18cc75d7b9dbe6c6526dfae9ab49e84fa95 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/s390/kvm/ |
H A D | diag.c | diff b8cee18cc75d7b9dbe6c6526dfae9ab49e84fa95 Wed May 21 06:37:16 CDT 2008 Christian Borntraeger <borntraeger@de.ibm.com> KVM: s390: use yield instead of schedule to implement diag 0x44
diag 0x44 is the common way on s390 to yield the cpu to the hypervisor. It is called by the guest in cpu_relax and in the spinlock code to yield to other guest cpus.
This semantic is similar to yield. Lets replace the call to schedule with yield to make sure that current is really yielding.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
|