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

Nigel Cunningham
2007-09-21T12:15:54Z

Hi.

On Friday 21 September 2007 22:18:19 Rafael J. Wysocki wrote:
> On Friday, 21 September 2007 13:58, Nigel Cunningham wrote:
> > Hi.
> >
> > On Friday 21 September 2007 21:56:29 Rafael J. Wysocki wrote:
> > > [Besides, the current hibernation userland interface is used by default
by
> > > openSUSE and it's also used by quite some Debian users, so we can't drop
> > > it overnight and it can't be implemented in a compatible way on top of
the
> > > kexec-based solution.]
> >
> > Could it be fudged by giving userland a null image and having (say) the
first
> > ioctl be one that triggers all the real work (with other ioctls being
noops
> > or such like, as appropriate)?
>
> Well, the "suspend" part is probably doable, but I'm afraid of the "resume"
> one.

'k. I've occasionally thought about trying it, but haven't ever gotten around
to actually doing it yet. (I'd like to make TuxOnIce transparently replace
both swsusp and uswsusp if I could).

Regards,

Nigel