Re: [PATCH -mm] swsusp: rework memory shrinker

From: Andrew Morton
Date: Tue Apr 18 2006 - 06:14:41 EST


"Rafael J. Wysocki" <rjw@xxxxxxx> wrote:
>
> Rework the swsusp's memory shrinker in the following way:

And what was the observed effect of all this?

> + /* Force reclaiming mapped pages in the passes #3 and #4 */
> + if (pass > 2) {
> + sc.may_swap = 1;
> + vm_swappiness = 100;
> + }

That's a bit klunky. Maybe we should move swappiness into scan_control.

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