[PATCH 0/2] Optimize ds/es reload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The lightweight exit path needlessly reloads %ds and %es (and clobbers the
user supplied values as well, a minor ABI bug).  This patchset fixes the bug
and moves the reload to the heavyweight exit path (potentially skipping it
completely on x86_64), reducing the vmexit cost by about 70 cycles.

Avi Kivity (2):
  KVM: VMX: Fix %ds/%es clobber
  KVM: VMX: Optimize %ds, %es reload

 arch/x86/kvm/vmx.c |   32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)

-- 
1.7.10.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux