lkml.org 
[lkml]   [2008]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [linux-pm] [PATCH -mm] kexec jump -v9
Date
On Wednesday, 12 of March 2008, Alan Stern wrote:
> On Wed, 12 Mar 2008, Huang, Ying wrote:
>
> > I think "kexec based hibernation" is the only currently available
> > possible method to write out image without freezer (after driver works
> > are done). If other process is running, how to prevent them from writing
> > to disk without freezing them in current implementation?
>
> This is a very good question.
>
> It's a matter of managing the block layer's request queues. Somehow
> the existing I/O requests must remain blocked while the requests needed
> for writing the image must be allowed to proceed.
>
> I don't know what would be needed to make this work, but it ought to be
> possible somehow...

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.

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.

Thanks,
Rafael


\
 
 \ /
  Last update: 2008-03-12 22:57    [from the cache]
©2003-2011 Jasper Spaans