KVM: MMU: fix missing percpu counter destroy
authorWei Yongjun <yjwei@cn.fujitsu.com>
Mon, 23 Aug 2010 08:13:15 +0000 (16:13 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:21 +0000 (10:51 +0200)
commit45bf21a8ce7a2884f067a702a5c7683684846ce1
tree68d4ed52d4125543e741027ab89f8f6f4bce6183
parent80b63faf028fba79e630d3643b0e615bddf4067b
KVM: MMU: fix missing percpu counter destroy

commit ad05c88266b4cce1c820928ce8a0fb7690912ba1
(KVM: create aggregate kvm_total_used_mmu_pages value)
introduce percpu counter kvm_total_used_mmu_pages but never
destroy it, this may cause oops when rmmod & modprobe.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: Tim Pepper <lnxninja@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c