Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2:hang in atomic copy)

From: Johannes Berg
Date: Fri Apr 27 2007 - 05:43:35 EST

On Thu, 2007-04-26 at 21:02 +0200, Rafael J. Wysocki wrote:

> Yes. That's because we want to be able to repeat creating the image
> without closing the fd in some situations.

Oh yeah, I just checked and it's not in fact necessary. I'm just

> Still, we could use a global var 'platform_hibernation' or something like this,
> I think. Then, we can do
> #define platform_hibernation 0
> on the architectures that don't need it and make ACPI use it instead of this
> "dynamic linking".

No, because acpi doesn't know at build time whether it can actually do
S4 or not.


Attachment: signature.asc
Description: This is a digitally signed message part