Re: [PATCH]: In kernel hibernation, suspend to both

From: Bojan Smojver
Date: Wed May 09 2012 - 07:11:34 EST


Bojan Smojver <bojan@xxxxxxxxxxxxx> wrote:

>Honest answer - I have absolutely no idea. I've seen the code of
>suspend-utils (i.e. user mode stuff) and it seems to me that it does
>exactly this. Could be wrong of course, just like many times before.

What makes me think that this may not be that bad is the fact that post-resume, it will actually be hibernation code that will be unwinding things. So like this: prepare for hibernation, create image, suspend to memory (equivalent to hibernation failure of some kind, really), resume from memory, unwind from unsuccessful hibernation.

No?

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