Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexec jump

Pavel Machek
2007-09-21T09:45:12Z

Hi!
> >
> > Sounds doable, as long as you can cope with long command lines (which
> > shouldn't be a biggie). (If you've got a swapfile or parts of a swap
> > partition already in use, it can be quite fragmented).
>
> Hmm. This is an interesting problem. Sharing a swap file or a swap
> partition with the actual swap of user space pages does seem to be
> a limitation of this approach.
>
> Although the fact that it is simple to write to a separate file may
> be a reasonable compensation.

I'm not sure how you'd write it to a separate file. Notice that kjump
kernel may not mount journalling filesystems, not even
read-only. (Ext3 replays journal in that case). You could pass block
numbers from the original kernel...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html