KVM: VMX: Optimize atomic EFER load
authorAvi Kivity <avi@redhat.com>
Tue, 21 Dec 2010 10:54:20 +0000 (12:54 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:31:09 +0000 (11:31 +0200)
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>

No differences found