Skip to content

Optimize ds/es reload

Avi Kivity kvm 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: VMX: Fix %ds/%es clobberarch/x86/kvm/vmx.c+5 -10 replies
2/2KVM: VMX: Optimize %ds, %es reloadarch/x86/kvm/vmx.c+31 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Optimize ds/es reload

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(-)
Signature · 1 line
1.7.10.1