lkml.org 
[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Re: Suggestion for laptop suspension
Date
Hi!

>MY Sony Vaio 505TX has a similar behavior. What hasn't been clear to me
>is how to mark memory as "unused". I had a theory that the APM BIOS
>suspend code was checking if the memory was all zero's, and not writing
>such pages to disk. This was a while ago, but a quick test didn't seem
>to bear out this theory.
>
>I never had time to really take this much further, since using the
>laptop "suspend and keep power to the memory" mode really doesn't take
>that much battery power, so it wasn't worth my bothering to figure out
>exactly how to trick the laptop into thinking a memory region didn't
>need to be saved to disk. But this would be a good project for someone
>who was interested to try to take up. One warning --- the technique by
>which this is done may end up being very laptop-specific, or at least
>dependent on a particular APM BIOS supplier.

There's completely generic solution called swsusp. It saves only occupied memory (of course) and works even on desktops. I suggest enhancing it is a much better project.
Pavel
>
> - Ted
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>Please read the FAQ at http://www.tux.org/lkml/
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.023 / U:23.012 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site