]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: MMU: Use clear_page() instead of init_shadow_page_table()
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Fri, 18 Dec 2015 09:54:49 +0000 (18:54 +0900)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 18 Dec 2015 18:07:45 +0000 (19:07 +0100)
commit0cb356d104a8f8b77812690d2c695c1b1b14f6d7
treeb475eae976cf143389bf36b6fe541fbc816ac9f9
parent3a846d2cc0d1623c4e9d4b3c989b9aeb4e4d5978
KVM: x86: MMU: Use clear_page() instead of init_shadow_page_table()

Not just in order to clean up the code, but to make it faster by using
enhanced instructions: the initialization became 20-30% faster on our
testing machine.

Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c