Re: [PATCH] Take anonymous pages off the LRU if we have no swap

Paul Menage
2007-02-22T17:21:34Z

On 2/21/07, Christoph Lameter <clameter@sgi.com> wrote:
> If the kernel was compiled without support for swapping then we have no means
> of evicting anonymous pages and they become like mlocked pages.

How will this interact with page migration?

In order to start migrating a page, the migration paths call
isolate_lru_page(), which returns -EBUSY if the page isn't on an LRU.

At a minimum, CONFIG_MIGRATION should either select or depend on CONFIG_SWAP.

Paul