Re: [PATCH 1/4] KVM: MMU: don't drop spte if overwrite it from Wto RO
From: Xiao Guangrong
Date: Mon Nov 15 2010 - 00:30:28 EST
On 11/14/2010 06:52 PM, Avi Kivity wrote:
> On 11/12/2010 12:30 PM, Xiao Guangrong wrote:
>> We just need flush tlb if overwrite a writable spte with a read-only one
>>
>
> What are the advantages? Avoid playing with rmap, and avoid a window
> where the spte is missing?
>
Both, but only the first was in my mind when i'm making the patch :-)
--
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/