diff options
author | 2010-12-21 12:54:20 +0200 | |
---|---|---|
committer | 2011-01-12 11:31:09 +0200 | |
commit | 110312c84b5fbd4daf5de2417fa8ab5ec883858d (patch) | |
tree | 704d8c4925d2ba236a0e6e97ee0733339210bce5 /kernel/irq/pm.c | |
parent | KVM: VMX: Add definitions for more vm entry/exit control bits (diff) | |
download | wireguard-linux-110312c84b5fbd4daf5de2417fa8ab5ec883858d.tar.xz wireguard-linux-110312c84b5fbd4daf5de2417fa8ab5ec883858d.zip |
KVM: VMX: Optimize atomic EFER load
When NX is enabled on the host but not on the guest, we use the entry/exit
msr load facility, which is slow. Optimize it to use entry/exit efer load,
which is ~1200 cycles faster.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions