Re: [PATCH] mmu notifiers #v2

From: Izik Eidus
Date: Wed Jan 16 2008 - 13:12:57 EST


Rik van Riel wrote:
On Sun, 13 Jan 2008 17:24:18 +0100
Andrea Arcangeli <andrea@xxxxxxxxxxxx> 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....

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