diff options
author | Jens Freimann | 2015-04-17 10:21:04 +0200 |
---|---|---|
committer | Christian Borntraeger | 2015-05-08 15:51:15 +0200 |
commit | ffeca0ae880055457e56e45fd79cfa28d7160c30 (patch) | |
tree | cf4f49a36cc28c34a0d829015e00bf309e2f1af7 /arch/powerpc | |
parent | 27406cd50cf6653196eea8ebbb15a75596da01ca (diff) |
KVM: s390: optimize interrupt handling round trip time
We can avoid checking guest control registers and guest PSW as well
as all the masking and calculations on the interrupt masks when
no interrupts are pending.
Also, the check for IRQ_PEND_COUNT can be removed, because we won't
enter the while loop if no interrupts are pending and invalid interrupt
types can't be injected.
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions