lkml.org 
[lkml]   [2008]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mmu notifiers #v2
Rik van Riel wrote:
> On Sun, 13 Jan 2008 17:24:18 +0100
> Andrea Arcangeli <andrea@qumranet.com> wrote:
>
>
>> In my basic initial patch I only track the tlb flushes which should be
>> the minimum required to have a nice linux-VM controlled swapping
>> behavior of the KVM gphysical memory.
>>
>
> I have a vaguely related question on KVM swapping.
>
> Do page accesses inside KVM guests get propagated to the host
> OS, so Linux can choose a reasonable page for eviction, or is
> the pageout of KVM guest pages essentially random?
>
>
right now when kvm remove pte from the shadow cache, it mark as access
the page that this pte pointed to.
it was a good solution untill the mmut notifiers beacuse the pages were
pinned and couldnt be swapped to disk
so now it will have to do something more sophisticated or at least mark
as access every page pointed by pte
that get insrted to the shadow cache....



\
 
 \ /
  Last update: 2008-01-16 19:15    [W:0.131 / U:3.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site