提交 f4119304 编写于 作者: X Xiao Guangrong 提交者: Marcelo Tosatti

KVM: fix fault page leak

fault_page is forgot to be freed
Signed-off-by: NXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
上级 326cf033
...@@ -2845,6 +2845,7 @@ void kvm_exit(void) ...@@ -2845,6 +2845,7 @@ void kvm_exit(void)
kvm_arch_hardware_unsetup(); kvm_arch_hardware_unsetup();
kvm_arch_exit(); kvm_arch_exit();
free_cpumask_var(cpus_hardware_enabled); free_cpumask_var(cpus_hardware_enabled);
__free_page(fault_page);
__free_page(hwpoison_page); __free_page(hwpoison_page);
__free_page(bad_page); __free_page(bad_page);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册