Searched hist:"0 ff318674503ce3787ef62d84f4d948db204b268" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/s390/kvm/ |
H A D | kvm-s390.c | diff 0ff318674503ce3787ef62d84f4d948db204b268 Wed May 21 06:37:37 CDT 2008 Carsten Otte <cotte@de.ibm.com> KVM: s390: fix interrupt delivery
The current code delivers pending interrupts before it checks for need_resched. On a busy host, this can lead to a longer interrupt latency if the interrupt is injected while the process is scheduled away. This patch moves delivering the interrupt _after_ schedule(), which makes more sense.
Signed-off-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
|