diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2008-11-24 18:37:38 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-11-25 11:02:48 +0100 |
commit | c30f8a6c6d74f67bc2107726cc61a1e7c71e9740 (patch) | |
tree | cc593db75efd62f917e949df78f4fabdcddc6938 /arch/powerpc/sysdev/fsl_msi.c | |
parent | KVM: MMU: fix sync of ptes addressed at owner pagetable (diff) | |
download | linux-c30f8a6c6d74f67bc2107726cc61a1e7c71e9740.tar.xz linux-c30f8a6c6d74f67bc2107726cc61a1e7c71e9740.zip |
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>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_msi.c')
0 files changed, 0 insertions, 0 deletions