Re: [PATCH] free swap space of (re)activated pages

From: Andrew Morton
Date: Fri Mar 02 2007 - 20:19:07 EST


On Fri, 02 Mar 2007 15:31:19 -0500
Rik van Riel <riel@xxxxxxxxxx> wrote:

> the attached patch frees the swap space of already resident pages
> when swap space starts getting tight, instead of only freeing up
> the swap space taken up by newly swapped in pages.
>
> This should result in the swap space of pages that remain resident
> in memory being freed, allowing kswapd more chances to actually swap
> a page out (instead of rotating it back onto the active list).

Fair enough. How do we work out if this helps things?
-
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/