Re: [PATCH][3/3] mm: swsusp post resume aggressive swap prefetch

From: Con Kolivas
Date: Wed Mar 22 2006 - 01:09:03 EST


On Wed, 22 Mar 2006 05:11 am, Rafael J. Wysocki wrote:
> On Tuesday 21 March 2006 01:44, kernel@xxxxxxxxxxx wrote:
> > Are you looking at swap still in use? Swap prefetch keeps a copy of
> > prefetched pages on backing store as well as in ram so the swap space
> > will not be freed on prefetching.
>
> It looks like I have to debug it a bit more. Unfortunately I've been
> having a lot of work to do recently, so it'll take some time.

No rush whatsoever! I'd just like to help on this.

> > I don't understand what you mean by it won't matter?
>
> Well, sorry. Of course it will matter. What I wanted to say is that in
> this case tbe built-in swsusp would be affected as well as the userland
> suspend, because the hook was in a function used by both.

Understood. So I'll modify it to hook into only built-in swsusp restore when I
get a chance.

Cheers,
Con
-
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/