Re: [PATCH v2 1/7] KVM: MMU: optimize pte write path if don't haveprotected sp

From: Marcelo Tosatti
Date: Wed May 18 2011 - 09:18:32 EST

On Mon, May 16, 2011 at 02:25:02PM +0300, Avi Kivity wrote:
> On 05/15/2011 06:20 PM, Xiao Guangrong wrote:
> >Simply return from kvm_mmu_pte_write path if no shadow page is
> >write-protected, then we can avoid to walk all shadow pages and hold
> >mmu-lock
> Patchset looks like a very good cleanup (plus the nice optimization
> in patch 1).

What case is patch 1 optimizing for?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at