diff options
author | neel <neel@FreeBSD.org> | 2014-09-12 06:15:20 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2014-09-12 06:15:20 +0000 |
commit | b2ca87a5d0d3d89fbe72128a3e8f2dcfe15cbaaf (patch) | |
tree | 1bd8111e0925664f03e1eea50076c8625f732f3f /share | |
parent | cc95d45388990b1b28acfc90e86a926760f01f16 (diff) | |
download | FreeBSD-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