diff options
author | 2008-05-21 13:37:37 +0200 | |
---|---|---|
committer | 2008-06-06 21:08:26 +0300 | |
commit | 0ff318674503ce3787ef62d84f4d948db204b268 (patch) | |
tree | 7e3f964df1961aa858bbaf28aa2d455d156cdcc9 /lib/debugobjects.c | |
parent | KVM: s390: handle machine checks when guest is running (diff) | |
download | wireguard-linux-0ff318674503ce3787ef62d84f4d948db204b268.tar.xz wireguard-linux-0ff318674503ce3787ef62d84f4d948db204b268.zip |
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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions