Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway

From: Oliver Neukum
Date: Tue Jul 03 2007 - 17:47:48 EST


Am Dienstag, 3. Juli 2007 schrieb Matthew Garrett:
> On Tue, Jul 03, 2007 at 11:37:51PM +0200, Rafael J. Wysocki wrote:
> > On Tuesday, 3 July 2007 23:20, Matthew Garrett wrote:
> > > We're used to the idea of applications blocking when a resource they're
> > > using goes away - NFS has done it forever.
> >
> > Now, please tell me how many driver writers even thought that something
> > might try to access their devices after .suspend() had been executed (or
> > even whilie it was being executed)?
>
> Every single driver that fails under those conditions is already broken,
> and has been forever. It's likely that they're broken under run-time
> suspend, too.

There _is_ no runtime syspend in working condition. The interface
to do that has been scheduled for removal.

Oliver

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