swsusp & modules [was Re: [linux-pm] [Fwd: Re: PM messages]]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 28 October 2004 15:38, Pavel Machek wrote:
> > If we go the "STD = STR plus image-to-disk" route,
> > ...
> 
> Well, STD != STR plus image-to-disk.
> 
> For std you need to free 50% memory, plus you need freezing phase,
> plus atomic snapshot. That's pretty different code.

The "free 50%" is an artifact of how snapshotting is being
done just now, right?  Anything that's not modified during
the snapshot (like the kernel text segment) doesn't need
to be copied.  I suspect someone wanting to be clever could
map most memory as read-only and kick in some copy-on-write
logic to reduce that requirement by quite a lot ... :)

Anyway, that detail aside:  image-to-disk is exactly
creating that snapshot (50% or otherwise) and doing that
atomic thing ... and STR needs freezing too.  So you've
not convinced me that, within the limits of a soundbite,
it's misleading to say that "STD == STR + image_to_disk".

- Dave



[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux