lkml.org 
[lkml]   [2012]   [Mar]   [29]   [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 03/29/2012 11:25 AM, Xiao Guangrong wrote:
> Using PTE_LIST_WRITE_PROTECT bit in rmap store the write-protect status to
> avoid unnecessary shadow page walking

Does kvm_set_pte_rmapp() need adjustment?

> Also if no shadow page is indirect, the page is write-free
>
>
> + if (!vcpu->kvm->arch.indirect_shadow_pages)
> + return 0;
> +
Best in its own little patch.


--
error compiling committee.c: too many arguments to function



\
 
 \ /
  Last update: 2012-03-29 17:51    [W:0.275 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site