* swsusp with 2.5.33
@ 2002-09-08 21:46 kneumann-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX
[not found] ` <Pine.SOL.4.21.0209082337150.3487-100000-gIrQFgUln/g@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: kneumann-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX @ 2002-09-08 21:46 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi there,
lately I observed problems with swsusp. Only if I am suspending from
console right after the boot there are enough pages free....I did some
research on the net and found that the rmap things does not free enough
pages.
AFAIU when suspending to disk the kernel (respective the vm) is asked to
swap as many pages out as possible and creates an image from the remaining
pages and writes that to disk. While that seems to be at first a great
idea it depends - by design - upon the ability to free more than half of
the ram. Why can one not stop all processes, lock the kernel, and write
all pages to an image in swap space?
Though I am by no means into kernel internals I would really like to
understand why the above assumption is wrong.
Can someone help me out?
-Knut
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: swsusp with 2.5.33
[not found] ` <Pine.SOL.4.21.0209082337150.3487-100000-gIrQFgUln/g@public.gmane.org>
@ 2002-09-13 17:28 ` Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2002-09-13 17:28 UTC (permalink / raw)
To: kneumann-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> lately I observed problems with swsusp. Only if I am suspending from
> console right after the boot there are enough pages free....I did some
> research on the net and found that the rmap things does not free enough
> pages.
Then either rmap is seriously broken or we are not calling it the
right way.
> AFAIU when suspending to disk the kernel (respective the vm) is asked to
> swap as many pages out as possible and creates an image from the remaining
> pages and writes that to disk. While that seems to be at first a great
> idea it depends - by design - upon the ability to free more than half of
> the ram. Why can one not stop all processes, lock the kernel, and write
> all pages to an image in swap space?
It is far easier to fix VM than do that.
Pavel
--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-13 17:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-08 21:46 swsusp with 2.5.33 kneumann-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX
[not found] ` <Pine.SOL.4.21.0209082337150.3487-100000-gIrQFgUln/g@public.gmane.org>
2002-09-13 17:28 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox