Re: [RFC][PATCH 2/2] first callers of process_deny_checkpoint()

From: Rafael J. Wysocki
Date: Fri Oct 10 2008 - 15:49:39 EST


On Friday, 10 of October 2008, Ingo Molnar wrote:
>
> * Rafael J. Wysocki <rjw@xxxxxxx> wrote:
>
> > > In the long run, could we expect a (experimental) version of
> > > hibernation that would just use this checkpointing facility to
> > > hibernate?
> >
> > Surely not ACPI-compliant.
>
> what do you mean?

The ACPI spec says quite specifically what should be done while entering
hibernation and during resume from hibernation. We're not following that
in the current code, but we can (gradually) update the code to become
ACPI-compilant in that respect. However, if we go the checkpointing route, I
don't think that will be possible any more.

[In short, the problem is that ACPI regards the S4 state corresponding to
hibernation as a sleep state of the system which is therefore fundamentally
different from the soft power-off state and requires special handling.]

This may be a theory etc. (I don't want to start the entire discussion about
that once again), but clearly there's a choice to be made here. I'd prefer
hibernation to be ACPI-compliant, but if people don't want that, I won't fight
for it.

Thanks,
Rafael
--
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/