lkml.org 
[lkml]   [2010]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 2/3] KVM: MMU: fix accessed bit set on prefault path
On 11/30/2010 09:29 PM, Gleb Natapov wrote:

>> + if (!shadow_accessed_mask)
>> + return;
>> +
> I don't get this. As far as I can see VMX inits shadow_accessed_mask to
> be zero if ept is enabled. This line here means that we never prefault with ept
> enabled. It is opposite from what it should be.
>

Since it's no accessed bit on EPT, it's no way to distinguish between actually
accessed translations and prefault.


\
 
 \ /
  Last update: 2010-11-30 17:51    [W:0.033 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site