kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] KVM: fix fault page leak
@ 2012-07-03  6:31 Xiao Guangrong
  2012-07-03  6:31 ` [PATCH 2/3] KVM: MMU: fix shrinking page from the empty mmu Xiao Guangrong
  2012-07-03  6:32 ` [PATCH 3/3] KVM: MMU: track the refcount when unmap the page Xiao Guangrong
  0 siblings, 2 replies; 4+ messages in thread
From: Xiao Guangrong @ 2012-07-03  6:31 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Marcelo Tosatti, LKML, KVM

fault_page is forgot to be freed

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
---
 virt/kvm/kvm_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 02cb440..157226d 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -2857,6 +2857,7 @@ void kvm_exit(void)
 	kvm_arch_hardware_unsetup();
 	kvm_arch_exit();
 	free_cpumask_var(cpus_hardware_enabled);
+	__free_page(fault_page);
 	__free_page(hwpoison_page);
 	__free_page(bad_page);
 }
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-03 20:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-03  6:31 [PATCH 1/3] KVM: fix fault page leak Xiao Guangrong
2012-07-03  6:31 ` [PATCH 2/3] KVM: MMU: fix shrinking page from the empty mmu Xiao Guangrong
2012-07-03  6:32 ` [PATCH 3/3] KVM: MMU: track the refcount when unmap the page Xiao Guangrong
2012-07-03 20:30   ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).