lkml.org 
[lkml]   [2012]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/13] KVM: MMU: fask check whether page is writable
On 04/13/2012 07:08 AM, Marcelo Tosatti wrote:


>> Yes, it is used as a cache for mmu_need_write_protect.
>>
>> When the gfn is protected by sync sp or read-only host page we set this bit,
>> and it is be cleared when the sp become unsync or host page becomes writable.
>
> Wouldnt dropping support for shadow entirely make it much simpler?
>
> The idea to handle RO->RW without mmu_lock is very neat, but the
> complexity with shadow is horrible.
>


I have posted the v2 that is fairly simple, please review that one. :)
Thank you, Marcelo!



\
 
 \ /
  Last update: 2012-04-13 12:31    [W:0.109 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site