projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
326cf03
)
KVM: fix fault page leak
author
Xiao Guangrong
<xiaoguangrong@linux.vnet.ibm.com>
Tue, 3 Jul 2012 06:31:01 +0000
(14:31 +0800)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Tue, 3 Jul 2012 20:31:50 +0000
(17:31 -0300)
fault_page is forgot to be freed
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/kvm_main.c
patch
|
blob
|
blame
|
history
diff --git
a/virt/kvm/kvm_main.c
b/virt/kvm/kvm_main.c
index e98a5cac55c42fae2d45d71f22bffb7f3c140c83..44ee7124b16dae1820ca1ca1c79f2a099979da12 100644
(file)
--- a/
virt/kvm/kvm_main.c
+++ b/
virt/kvm/kvm_main.c
@@
-2845,6
+2845,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);
}