]> git.karo-electronics.de Git - linux-beck.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)
commit774926641d1968a4839da3a6ac79d914742aac2f
treeb475eae976cf143389bf36b6fe541fbc816ac9f9
parent481d2bcc8454a44811db2bb68ac216fc6c5a23db
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