diff options
author | Gui Jianfeng <guijianfeng@cn.fujitsu.com> | 2010-04-27 04:39:49 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-19 10:36:23 +0200 |
commit | d35b8dd9355805f17225fdbfee4bc704d7bf7547 (patch) | |
tree | 7e287a657cf320b82cdba21d3db860be532c556d /arch/powerpc/kvm/book3s.c | |
parent | KVM: MMU: fix hashing for TDP and non-paging modes (diff) | |
download | linux-d35b8dd9355805f17225fdbfee4bc704d7bf7547.tar.xz linux-d35b8dd9355805f17225fdbfee4bc704d7bf7547.zip |
KVM: Fix mmu shrinker error
kvm_mmu_remove_one_alloc_mmu_page() assumes kvm_mmu_zap_page() only reclaims
only one sp, but that's not the case. This will cause mmu shrinker returns
a wrong number. This patch fix the counting error.
Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/book3s.c')
0 files changed, 0 insertions, 0 deletions