Re: Hibernation considerations

From: david
Date: Tue Jul 17 2007 - 16:53:23 EST


On Tue, 17 Jul 2007, Jeremy Maitin-Shepard wrote:

david@xxxxxxx writes:

[snip]

the non-ACPI hibernate behaves very differently, and for some people (and I
think I am one of them) it will meet their needs better then _any_ of the ACPI
suspends.

It may have certain differences from the user point of view, but from
the implementation view, it seems that it is nearly exactly the same.
The only differences seem to be:

- rather than shutting down, do whatever is necessary to stick the
system in S4 state.

- make sure ACPI isn't initialized by the "load image" kernel

- rather than "resume from hibernate" ACPI by initializing it normally,
issue the special hibernate-related methods.

Thus, it seems that supporting ACPI S4 will have a very minimal affect
on the hibernate implementation.

from what Rafael is saying supporting ACPI S4 mode requires a very fundamentally different restore approach, and in addition imposes very different restrictions on what can be done with the machine while it's suspended.

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