commit | d35b8dd9355805f17225fdbfee4bc704d7bf7547 | [log] [tgz] |
---|---|---|
author | Gui Jianfeng <guijianfeng@cn.fujitsu.com> | Tue Apr 27 10:39:49 2010 +0800 |
committer | Avi Kivity <avi@redhat.com> | Wed May 19 11:36:23 2010 +0300 |
tree | 7e287a657cf320b82cdba21d3db860be532c556d | |
parent | 5a7388c2d2faa2cc70c2d4717c8d7836d55459e0 [diff] |
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>