Re: [PATCH v6 5/9] KVM: MMU: introduce SPTE_MMU_WRITEABLE bit

From: Xiao Guangrong
Date: Mon Jun 11 2012 - 22:23:51 EST


On 06/12/2012 07:32 AM, Marcelo Tosatti wrote:

> On Tue, May 29, 2012 at 02:49:14PM +0800, Xiao Guangrong wrote:
>> This bit indicates whether the spte can be writable on MMU, that means
>> the corresponding gpte is writable and the corresponding gfn is not
>> protected by shadow page protection
>
> Why is this still necessary, now that only sptes of direct shadow pages
> are updated locklessly?
>


Yes, but it is still needed, for nested npt/ept, we need protect
the nested page tables.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/