Re: [PATCH 09/11] KVM: MMU: remove the mismatch shadow page

From: Xiao Guangrong
Date: Wed Jul 27 2011 - 06:03:20 EST


On 07/27/2011 05:13 PM, Avi Kivity wrote:
> On 07/27/2011 12:11 PM, Avi Kivity wrote:
>> On 07/26/2011 02:31 PM, Xiao Guangrong wrote:
>>> If the shadow page has different cpu mode with current vcpu, we do better
>>> remove them since the OS does not changes cpu mode frequently
>>>
>>
>> This is true
>
> It's actually not true. With nested virtualization the cpu changes modes all the time.
>

Oh, yes, i forgot this, thanks point it out!

--
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/