[lkml]   [2008]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [linux-pm] [PATCH -mm] kexec jump -v9
"Rafael J. Wysocki" <> writes:

> Yes, it ought to be possible.
> Ultimately, IMHO, we should put all devices unnecessary for saving the image
> (and doing some eye-candy work) into low power states before the image is
> created and keep them in low power states until the system is eventually
> powered off.

Why? I guess I don't see why we care what power state the devices are in.
Especially since we should be able to quickly save the image.

We need to disconnect the drivers from the hardware yes. So filesystems
still work and applications that do direct hardware access still work
and don't need to reopen their connections.

I'm leery of low power states as they don't always work, and bringing
low power states seems to confuse hibernation to disk with suspend to

> If this is done, the remaining problem is the handling of the devices that we
> need to save the image. I believe that will be achievable without using the
> freezer.

Reasonable. In general the problem is much easier if we don't store
the hibernation image in a filesystem or partition that the rest of
the system is using. That way we avoid inconsistencies.


 \ /
  Last update: 2008-03-13 01:41    [W:0.086 / U:3.888 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site