commit | 0ff318674503ce3787ef62d84f4d948db204b268 | [log] [tgz] |
---|---|---|
author | Carsten Otte <cotte@de.ibm.com> | Wed May 21 13:37:37 2008 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Fri Jun 06 21:08:26 2008 +0300 |
tree | 7e3f964df1961aa858bbaf28aa2d455d156cdcc9 | |
parent | 71cde5879f10b639506bc0b9f29a89f58b42a17e [diff] |
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>