lkml.org 
[lkml]   [2011]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/7] KVM: MMU: optimize pte write path if don't have protected sp
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?



\
 
 \ /
  Last update: 2011-05-18 15:21    [from the cache]
©2003-2011 Jasper Spaans