summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2014-09-12 06:15:20 +0000
committerneel <neel@FreeBSD.org>2014-09-12 06:15:20 +0000
commitb2ca87a5d0d3d89fbe72128a3e8f2dcfe15cbaaf (patch)
tree1bd8111e0925664f03e1eea50076c8625f732f3f /share
parentcc95d45388990b1b28acfc90e86a926760f01f16 (diff)
downloadFreeBSD-src-b2ca87a5d0d3d89fbe72128a3e8f2dcfe15cbaaf.zip
FreeBSD-src-b2ca87a5d0d3d89fbe72128a3e8f2dcfe15cbaaf.tar.gz
Optimize the common case of injecting an interrupt into a vcpu after a HLT
by explicitly moving it out of the interrupt shadow. The hypervisor is done "executing" the HLT and by definition this moves the vcpu out of the 1-instruction interrupt shadow. Prior to this change the interrupt would be held pending because the VMCS guest-interruptibility-state would indicate that "blocking by STI" was in effect. This resulted in an unnecessary round trip into the guest before the pending interrupt could be injected. Reviewed by: grehan
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud