All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH REBASE RESEND 0/4] improve speed of "rep ins" emulation
@ 2012-09-03 12:24 Gleb Natapov
  2012-09-03 12:24 ` [PATCH 1/4] Provide userspace IO exit completion callback Gleb Natapov
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Gleb Natapov @ 2012-09-03 12:24 UTC (permalink / raw)
  To: kvm; +Cc: avi, mtosatti

This series (or rather the last patch of it) takes different approach
to "rep ins" optimization. Instead of writing separate fast path for
it do the fast path inside emulator itself. This way nobody can say the
code is not reused!

Patch 1,2 are now, strictly speaking, not needed, but I think this is
still nice cleanup and, in case of patch 1, eliminates some ifs at each
KVM_RUN ioctl.

Gleb Natapov (4):
  Provide userspace IO exit completion callback.
  KVM: emulator: make x86 emulation modes enum instead of defines
  KVM: emulator: string_addr_inc() cleanup
  KVM: emulator: optimize "rep ins" handling.

 arch/x86/include/asm/kvm_emulate.h |   26 +++++-----
 arch/x86/include/asm/kvm_host.h    |    1 +
 arch/x86/kvm/emulate.c             |   48 ++++++++++++++-----
 arch/x86/kvm/x86.c                 |   93 ++++++++++++++++++++++--------------
 4 files changed, 105 insertions(+), 63 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-06 15:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-03 12:24 [PATCH REBASE RESEND 0/4] improve speed of "rep ins" emulation Gleb Natapov
2012-09-03 12:24 ` [PATCH 1/4] Provide userspace IO exit completion callback Gleb Natapov
2012-09-03 12:24 ` [PATCH 2/4] KVM: emulator: make x86 emulation modes enum instead of defines Gleb Natapov
2012-09-03 12:24 ` [PATCH 3/4] KVM: emulator: string_addr_inc() cleanup Gleb Natapov
2012-09-03 12:24 ` [PATCH 4/4] KVM: emulator: optimize "rep ins" handling Gleb Natapov
2012-09-06 15:07 ` [PATCH REBASE RESEND 0/4] improve speed of "rep ins" emulation Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.