KVM: ppc: Write only modified shadow entries into the TLB on exit
authorHollis Blanchard <hollisb@us.ibm.com>
Fri, 25 Jul 2008 18:54:52 +0000 (13:54 -0500)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:16 +0000 (10:15 +0200)
commit83aae4a8098eb8a40a2e9dab3714354182143b4f
tree872381c8aa610e3c1053008e967728f121fa55cb
parent20754c2495a791b5b429c0da63394c86ade978e7
KVM: ppc: Write only modified shadow entries into the TLB on exit

Track which TLB entries need to be written, instead of overwriting everything
below the high water mark. Typically only a single guest TLB entry will be
modified in a single exit.

Guest boot time performance improvement: about 15%.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kvm/44x_tlb.c
arch/powerpc/kvm/booke_interrupts.S
arch/powerpc/kvm/powerpc.c