public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* 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

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