Re: [PATCH 0/5] Swapless page migration V2: Overview

From: Christoph Lameter
Date: Thu Apr 13 2006 - 20:28:20 EST


On Thu, 13 Apr 2006, Andrew Morton wrote:

> > Currently page migration is depending on the ability to assign swap entries
> > to pages. However, those entries will only be to identify anonymous pages.
> > Page migration will not work without swap although swap space is never
> > really used.
>
> That strikes me as a fairly minor limitation?

Some people want never ever to use swap. Systems that have no swap defined
will currently not be able to migrate pages. Its kind of difficult to
comprehend that you need to have swap for migration, but then its not
going to be used.

> > The patchset will allow later patches to enable migration of VM_LOCKED vmas,
> > the ability to exempt vmas from page migration, and allow the implementation
> > of a another userland migration API for handling batches of pages.
>
> These seem like more important justifications. Would you agree with that
> judgement?

The swapless thing is the most important for us because many of our
customers do not have swap setup. Then follow the above
features then the efficiency consideration.

> Is it not possible to implement some or all of these new things without
> this work?

VM_LOCKED semantics are that a page cannot be swapped out. Not being able
to swap and not being able to migrate are the same right now. We need to
separate both.

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