Re: [PATCH v2 5/5] KVM: MMU: introduce FNAME(prefetch_gpte)

2012-09-18 Thread Xiao Guangrong
y, this was wrong. Update this patch. >> >> [PATCH v2 5/5] KVM: MMU: introduce FNAME(prefetch_gpte) >> >> The only different thing between FNAME(update_pte) and FNAME(pte_prefetch) >> is that the former is allowed to prefetch gfn from dirty logged slot, so >> introduc

Re: [PATCH v2 5/5] KVM: MMU: introduce FNAME(prefetch_gpte)

2012-09-15 Thread Marcelo Tosatti
On Fri, Sep 14, 2012 at 06:13:11PM +0800, Xiao Guangrong wrote: > On 09/14/2012 05:59 PM, Xiao Guangrong wrote: > > > + return FNAME(prefetch_gpte)(vcpu, sp, spte, gptep[i], true); > > Sorry, this was wrong. Update this patch. > > [PATCH v2 5/5] KVM: MMU: intro

Re: [PATCH v2 5/5] KVM: MMU: introduce FNAME(prefetch_gpte)

2012-09-14 Thread Xiao Guangrong
On 09/14/2012 05:59 PM, Xiao Guangrong wrote: > + return FNAME(prefetch_gpte)(vcpu, sp, spte, gptep[i], true); Sorry, this was wrong. Update this patch. [PATCH v2 5/5] KVM: MMU: introduce FNAME(prefetch_gpte) The only different thing between FNAME(update_pte) and FNAME(pte_prefe

[PATCH v2 5/5] KVM: MMU: introduce FNAME(prefetch_gpte)

2012-09-14 Thread Xiao Guangrong
The only different thing between FNAME(update_pte) and FNAME(pte_prefetch) is that the former is allowed to prefetch gfn from dirty logged slot, so introduce a common function to prefetch spte Signed-off-by: Xiao Guangrong --- arch/x86/kvm/paging_tmpl.h | 50 ---