All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.9-rc4-mm1: swsusp not freeing memory on AMD64
@ 2004-10-11 21:49 Rafael J. Wysocki
  2004-10-12  8:57 ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2004-10-11 21:49 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Andrew Morton, LKML

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"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.9-rc4-mm1: swsusp not freeing memory on AMD64
  2004-10-11 21:49 2.6.9-rc4-mm1: swsusp not freeing memory on AMD64 Rafael J. Wysocki
@ 2004-10-12  8:57 ` Pavel Machek
  2004-10-12  9:35   ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2004-10-12  8:57 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Andrew Morton, LKML

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)

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
> On 2.6.9-rc3-mm3 it was OK.

-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.9-rc4-mm1: swsusp not freeing memory on AMD64
  2004-10-12  8:57 ` Pavel Machek
@ 2004-10-12  9:35   ` Andrew Morton
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2004-10-12  9:35 UTC (permalink / raw)
  To: Pavel Machek; +Cc: rjw, linux-kernel

Pavel Machek <pavel@suse.cz> wrote:
>
> > 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-12  9:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-11 21:49 2.6.9-rc4-mm1: swsusp not freeing memory on AMD64 Rafael J. Wysocki
2004-10-12  8:57 ` Pavel Machek
2004-10-12  9:35   ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.