2.6.9-rc4-mm1: swsusp not freeing memory on AMD64

From: Rafael J. Wysocki
Date: Mon Oct 11 2004 - 16:50:36 EST


Hi,

It seems that on 2.6.9-rc4-mm1 swsusp is unable to free memory on my AMD64
box:

Stopping tasks:
========================================================================|
Freeing memory... done (0 pages freed)
PM: Attempting to suspend to disk.
PM: snapshotting memory.
swsusp: critical section:
..<7>[nosave pfn
0x5b1]...............................................................................................................
....swsusp: Need to copy 114733 pages
suspend: (pages needed: 114733 + 512 free: 16146)
swsusp: Not enough free pages: Have 16146

On 2.6.9-rc4, for the same set of apps started (after fresh boot), I get:

Stopping tasks:
==========================================================================|
Freeing
memory: ......................................................................................................................
.....................................................|
Losing some ticks... checking if CPU frequency changed.
PM: Attempting to suspend to disk.
PM: snapshotting memory.
swsusp: critical section:
..<7>[nosave pfn
0x58d]..........................................................................................swsusp:
Need to copy
45510 pages
suspend: (pages needed: 45510 + 512 free: 85369)

On 2.6.9-rc3-mm3 it was OK.

Greets,
RJW

--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-
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/