Re: Suggestion for laptop suspension

From: Marc Lehmann (pcg@goof.com)
Date: Mon Aug 28 2000 - 04:04:50 EST


On Sun, Aug 27, 2000 at 07:10:26PM -0400, "Theodore Y. Ts'o" <tytso@MIT.EDU> wrote:
> 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.

Are you sure? Maybe the block of zero memory must be continuous at the
end, in which case fragmentation would certainly spoil this.

(OTOH, doesn't linuc customarily start allocatin memory at the end, or has
this changed in recent (>>1.1) kernel? ;)

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg@opengroup.org |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |
-
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/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:20 EST