Re: Reasons to merge suspend2.

From: William Heimbigner
Date: Wed Apr 25 2007 - 12:23:53 EST


On Wed, 25 Apr 2007, Pavel Machek wrote:

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.
Pavel

That seems like a rather asinine idea to implement. I think you misread my question - there are some things that have to be done at the kernel level, such as when the entire memory has to be written, but are there portions of the existing code, or portions of Suspend2, that could be done in userspace?

If so, you could have a generic suspend mechanism in the kernel, and then various other things done in userspace.

William Heimbigner
icxcnika@xxxxxxxxxx
-
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/