WSL2-Linux-Kernel/arch/powerpc/kvm
Hollis Blanchard c30f8a6c6d KVM: ppc: stop leaking host memory on VM exit
When the VM exits, we must call put_page() for every page referenced in the
shadow TLB.

Without this patch, we usually leak 30-50 host pages (120 - 200 KiB with 4 KiB
pages). The maximum number of pages leaked is the size of our shadow TLB, 64
pages.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2008-11-25 12:02:48 +02:00
..
44x_tlb.c KVM: ppc: stop leaking host memory on VM exit 2008-11-25 12:02:48 +02:00
44x_tlb.h KVM: ppc: PowerPC 440 KVM implementation 2008-04-27 18:21:39 +03:00
Kconfig KVM: ppc: enable KVM_TRACE building for powerpc 2008-10-15 10:15:15 +02:00
Makefile KVM: ppc: enable KVM_TRACE building for powerpc 2008-10-15 10:15:15 +02:00
booke_guest.c KVM: powerpc: Map guest userspace with TID=0 mappings 2008-10-15 10:15:16 +02:00
booke_host.c KVM: ppc: PowerPC 440 KVM implementation 2008-04-27 18:21:39 +03:00
booke_interrupts.S KVM: powerpc: Map guest userspace with TID=0 mappings 2008-10-15 10:15:16 +02:00
emulate.c KVM: powerpc: Map guest userspace with TID=0 mappings 2008-10-15 10:15:16 +02:00
powerpc.c KVM: ppc: stop leaking host memory on VM exit 2008-11-25 12:02:48 +02:00