Re: [patch 1/6] mmu_notifier: Core code

From: Andrew Morton
Date: Sat Feb 16 2008 - 03:58:24 EST


On Sat, 16 Feb 2008 10:45:50 +0200 Avi Kivity <avi@xxxxxxxxxxxx> 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?
--
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/