]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6abacad2badd31f09074d25e368e6a05528b2954
tree68d4ed52d4125543e741027ab89f8f6f4bce6183
parent58f7c9e60af1d76181af71c62e0d6dc380642cbc
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