On Tue, 3 Jul 2007, Matthew Garrett wrote:
quoted text > On Tue, Jul 03, 2007 at 05:10:08PM -0400, Alan Stern wrote:
>
> > No, no -- you have it exactly backwards. Removing the freezer turns
> > STR into something _less_ like runtime suspend, because it adds the
> > requirement that devices must not automatically be resumed when an I/O
> > request arrives.
>
> But that's fine - "Are we undergoing a systemwide suspend" is an easy
> question to ask. Freezing processes instead means that most of those
> paths will never be tested.
The question is easy to ask, but it's not so easy to figure out what
you should do if the answer is Yes. Freezing processes instead means
that those "untested" paths -- in many, many drivers -- won't have to
exist at all.
Alan Stern
-
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: [linux-pm] [PATCH] Remove process freezer from suspend ... , Alan Stern , (Tue Jul 3, 2:16 pm)