Re: Reasons to merge suspend2.

From: Al Boldi
Date: Wed Apr 25 2007 - 17:32:11 EST


Pavel Machek wrote:
> Hi!

Hi!

> > >>I didn't read your whole post, it's way too long, but I would like to
> > >> see your patch in mainline as an option to swsusp. What would make
> > >> this infeasible?
> > >
> > >For one thing, Linus said not but yesterday that he doesn't want
> > > multiple competing suspend algorithms like this in the kernel at once.
> > > (If I parsed his message correctly, he doesn't want any in the kernel,
> > > but he's putting up with it because it seems somewhat needed.)
> >
> > Would it be a feasible solution to have a very minimal and generic
> > software suspend in the kernel, and then various userspace
> > implementations could take care of this?
>
> Yes please. If you want suspend-over-nfs or whatever, just add it to
> the userspace; we have enough support in kernel now.

The only way I can think of supporting this, would probably be via an
initramfs trick. But, if you think suspend-over-nfs is possible from
user-space, then why should there be any need for swsusp in the kernel?


Thanks!

--
Al

-
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/