KVM: MMU: remove unnecessary kvm_mmu_free_some_pages
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Thu, 22 Sep 2011 08:56:58 +0000 (16:56 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:16:58 +0000 (11:16 +0200)
commitf8734352c6f9c4f3d85f0c97b7731b7f925c62fd
treec3bf5e4938aaef0976ce5c5667561c78b5d873f9
parentf57f2ef58f6703e6df70ed52a198920cb3e8edba
KVM: MMU: remove unnecessary kvm_mmu_free_some_pages

In kvm_mmu_pte_write, we do not need to alloc shadow page, so calling
kvm_mmu_free_some_pages is really unnecessary

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c