]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: ppc: Stop saving host TLB state
authorHollis Blanchard <hollisb@us.ibm.com>
Fri, 25 Jul 2008 18:54:51 +0000 (13:54 -0500)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:16 +0000 (10:15 +0200)
commit20754c2495a791b5b429c0da63394c86ade978e7
treefbeed7fdab0f91417798aa5e4cea22f15a255275
parent6a0ab738ef42d87951b3980f61b1f4cbb14d4171
KVM: ppc: Stop saving host TLB state

We're saving the host TLB state to memory on every exit, but never using it.
Originally I had thought that we'd want to restore host TLB for heavyweight
exits, but that could actually hurt when context switching to an unrelated host
process (i.e. not qemu).

Since this decreases the performance penalty of all exits, this patch improves
guest boot time by 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/kernel/asm-offsets.c
arch/powerpc/kvm/booke_interrupts.S