Re: [PATCH 1/3] PM: Introduce new top level suspend and hibernation callbacks (rev. 8)

From: Rafael J. Wysocki
Date: Sun Apr 13 2008 - 20:07:29 EST


On Monday, 14 of April 2008, Benjamin Herrenschmidt wrote:
>
> On Sun, 2008-04-13 at 19:23 -0400, Alan Stern wrote:
> >
> > Thus, in addition to making all the interface changes implied by the
> > new callbacks, drivers would also have to change the way they
> > interact
> > with userspace. Yes, this will have to be done eventually in any
> > case,
> > as the freezer goes away -- but it shouldn't have to be done right
> > now.
>
> I disagree. The freezer can already be compiled out and is already not
> used on some architectures.

Please have a look at this thread:
http://lkml.org/lkml/2008/3/21/322
(in short, the reporter sees APM suspend breakage under stress, occuring
because APM uses our suspending of devices without the freezer).

It mostly appears to work without the freezer, but that's bacuse no one
actually does things that might break it. I don't think we can rely on users
being so kind to us forever. :-)

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/