Re: swsusp status report

From: Rafael J. Wysocki
Date: Tue Jul 25 2006 - 15:37:39 EST

On Tuesday 25 July 2006 17:11, Dave Jones wrote:
> On Tue, Jul 25, 2006 at 01:25:14PM +0200, Rafael J. Wysocki wrote:
> > V. Freeing memory
> >
> > Step (3) of the suspend procedure is completed by calling the same
> > functions that are normally used by kswapd, but in a slightly different way.
> > The part of swsusp responsible for that is referred to as 'the memory
> > shrinker' and it may sometimes be called by the suspend-to-RAM code as well
> This isn't actually necessary though is it ?
> (Ie, it's a bug that needs fixing?)

Well, that depends on what FREE_PAGE_NUMBER, as defined in
kernel/power/main.c, is for. Someone probably knows.
[I'm tempted to remove it, though. ;-) ]

> Good write-up btw, it may even be a nice addition to Documentation/power/ ?

I'm going to update the existing docs soon, so it probably won't be needed.
Still I think we can make it available from

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at