From: Jens Freimann Date: Fri, 17 Apr 2015 08:21:04 +0000 (+0200) Subject: KVM: s390: optimize interrupt handling round trip time X-Git-Tag: omap-for-v4.3/legacy-v2-signed~167^2~84^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffeca0ae880055457e56e45fd79cfa28d7160c30;p=pandora-kernel.git 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 Reviewed-by: Cornelia Huck Reviewed-by: Dominik Dingel Acked-by: Christian Borntraeger --- Reading git-diff-tree failed