diff options
author | Carsten Otte <cotte@de.ibm.com> | 2008-05-21 13:37:37 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-06-06 21:08:26 +0300 |
commit | 0ff318674503ce3787ef62d84f4d948db204b268 (patch) | |
tree | 7e3f964df1961aa858bbaf28aa2d455d156cdcc9 /include/asm-alpha/rwsem.h | |
parent | 71cde5879f10b639506bc0b9f29a89f58b42a17e (diff) | |
download | op-kernel-dev-0ff318674503ce3787ef62d84f4d948db204b268.zip op-kernel-dev-0ff318674503ce3787ef62d84f4d948db204b268.tar.gz |
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>
Diffstat (limited to 'include/asm-alpha/rwsem.h')
0 files changed, 0 insertions, 0 deletions