lkml.org 
[lkml]   [2008]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Populating multiple ptes at fault time
From
Date
On Wed, 2008-09-17 at 15:02 -0700, Avi Kivity wrote:
> Jeremy Fitzhardinge wrote:
> > Minor faults are easier; if the page already exists in memory, we should
> > just create mappings to it. If neighbouring pages are also already
> > present, then we can can cheaply create mappings for them too.
> >
> >
>
> One problem is the accessed bit. If it's unset, the shadow code cannot
> make the pte present (since it has to trap in order to set the accessed
> bit); if it's set, we're lying to the vm.
>
> This doesn't affect Xen, only kvm.

Other archs too. On powerpc, !accessed -> not hashed (or not in the TLB
for SW loaded TLB platforms).

Ben.




\
 
 \ /
  Last update: 2008-09-19 19:49    [W:0.211 / U:1.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site