]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: introduce pio in string read ahead.
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Mar 2010 13:20:27 +0000 (15:20 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:31 +0000 (12:16 +0300)
commit78ab5e4f71974b2f0822a6e4c031f39f04d8f808
treec64306065ff392590cf89808807fb82a65499650
parent7a2850e1bcaa6b9aee2276dfee4b27b061f8fda5
KVM: x86 emulator: introduce pio in string read ahead.

To optimize "rep ins" instruction do IO in big chunks ahead of time
instead of doing it only when required during instruction emulation.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c