commit | 54a4f0239f2e98bc0842818f611a4cf73bb7dd35 | [log] [tgz] |
---|---|---|
author | Gui Jianfeng <guijianfeng@cn.fujitsu.com> | Wed May 05 09:03:49 2010 +0800 |
committer | Avi Kivity <avi@redhat.com> | Sun Aug 01 10:35:39 2010 +0300 |
tree | f89db0a11d45d00244b4e789d032a2e83e765f27 | |
parent | 518c5a05e89a79e498c95c3e29f29bd236b3c972 [diff] |
KVM: MMU: make kvm_mmu_zap_page() return the number of pages it actually freed Currently, kvm_mmu_zap_page() returning the number of freed children sp. This might confuse the caller, because caller don't know the actual freed number. Let's make kvm_mmu_zap_page() return the number of pages it actually freed. Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>