Re: Which is simpler? (Was Re: [Suspend2-devel] Re: [ 00/10] [Suspend2] Modules support.)

From: Pavel Machek
Date: Mon Feb 20 2006 - 08:21:20 EST


> Hi.
>
> On Monday 20 February 2006 21:15, Lee Revell wrote:
> > On Mon, 2006-02-20 at 11:33 +0100, Matthias Hensler wrote:
> > > That is all I
> > > complain about, it means throwing away everything that is working, or
> > > easy to get it working, and delaying working hibernate support for
> > > another time.
> >
> > But we have not established that the current implementation does not
> > work! That's a pretty strong assertion to make with zero evidence.
>
> ...and that requires defining 'works'.
>
> If we define it as "writes an image of some part of ram to a swap partition
> that can be and does normally get restored on the next boot", then yes, we
> have a working version in the existing vanilla kernel. If however you start
> talking about multiple swap partitions or swap files or ordinary files, about
> reliability or the ability to tune it to fit your system and preferences,
> about the responsiveness of the system post resume or the security of the
> image (IIRC, encryption support has just been removed from swsusp), about the
> ability to get help when you run into trouble or documentation, swsusp
> becomes less of a candidate for 'works'.

...so yes, it works, and the rest of features can be implemented in
userspace. Feel free to help with documentation or userspace parts.
Pavel
--
Thanks, Sharp!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/