[ofa-general] Re: [patch 1/6] mmu_notifier: Core code

Andrew Morton akpm at linux-foundation.org
Sat Feb 16 00:56:53 PST 2008


On Sat, 16 Feb 2008 10:45:50 +0200 Avi Kivity <avi at qumranet.com> wrote:

> Andrew Morton wrote:
> > How important is this feature to KVM?
> >   
> 
> Very.  kvm pins pages that are referenced by the guest;

hm.  Why does it do that?

> a 64-bit guest 
> will easily pin its entire memory with the kernel map.

>  So this is 
> critical for guest swapping to actually work.

Curious.  If KVM can release guest pages at the request of this notifier so
that they can be swapped out, why can't it release them by default, and
allow swapping to proceed?

> 
> Other nice features like page migration are also enabled by this patch.
> 

We already have page migration.  Do you mean page-migration-when-using-kvm?



More information about the general mailing list