From: Hollis Blanchard Date: Mon, 24 Nov 2008 17:37:38 +0000 (-0600) Subject: KVM: ppc: stop leaking host memory on VM exit X-Git-Tag: v2.6.28-rc8~71^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c30f8a6c6d74f67bc2107726cc61a1e7c71e9740;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed