Re: [PATCH 7/8] KVM: MMU: remove the redundant get_written_sptes

2012-01-09 Thread Marcelo Tosatti
On Fri, Dec 16, 2011 at 06:18:10PM +0800, Xiao Guangrong wrote: get_written_sptes is called twice in kvm_mmu_pte_write, one of them can be removed Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c |6 ++ 1 files changed, 2 insertions(+), 4

[PATCH 7/8] KVM: MMU: remove the redundant get_written_sptes

2011-12-16 Thread Xiao Guangrong
get_written_sptes is called twice in kvm_mmu_pte_write, one of them can be removed Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index