lkml.org 
[lkml]   [2002]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [announce] swap mini-howto
On Sat, 2 Nov 2002, Pavel Machek wrote:

> > That has changed in 2.5. Swapping onto a regular file has no
> > disadvantage wrt swapping onto a block device. The kernel does
> > not need to allocate any memory at all to get a swapcache page
> > onto disk.
>
> Well, you can swsusp to partition. You can't swsusp to a file, as that
> is very hard to do.

Why is it very hard to do ?

For the swap layer, swap to a partition or to a file is the
same thing.

Does swsusp rely on restoring memory from the swap partition
before mounting the root filesystem or is there more behind
your objection ?

regards,

Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://distro.conectiva.com/
Current spamtrap: <a href=mailto:"october@surriel.com">october@surriel.com</a>

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

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.069 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site