Skip to contentSkip to conversation

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

DISCUSSION Rafael J. Wysocki 3 participants 3 messages Oct 11, 2004 – Oct 12, 2004

lore
Share & tools
lore
#0 lore raw

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

Signature · 3 lines
- 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"
#1 lore raw

Hi!

Quoted 6 lines

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)

Andrew, I'm afraid this one is for you. I call shrink_all_memory() and vm system does not free anything. That looks like VM bug...

Pavel

Quoted 1 line

On 2.6.9-rc3-mm3 it was OK.

Signature · 2 lines
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
#2 lore raw
Quoted 10 lines · Pavel Machek
Quoted 7 lines

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)

Andrew, I'm afraid this one is for you. I call shrink_all_memory() and vm system does not free anything. That looks like VM bug...

yup, there are some half-written patches in there.