lkml.org 
[lkml]   [2011]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 04/15] KVM: MMU: cache mmio info on page fault path
From
Date

On 08.06.2011, at 11:33, Xiao Guangrong wrote:

> On 06/08/2011 05:18 PM, Alexander Graf wrote:
>
>>>
>>> Also, when context switched, CR3 is reloaded, mmio cache info can be cleared too. right? :-)
>>
>> Only when using SPT. In the NPT case, you will never see cr3 getting reloaded or INVLPG :).
>>
>
> In the NPT case, we only cache the GPA, GVA is not cached (vcpu.arch.mmio_gva is always 0) ;-)

Ah, very nice! :)


Alex



\
 
 \ /
  Last update: 2011-06-08 11:41    [W:0.154 / U:2.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site