Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review

From: Rafael J. Wysocki
Date: Wed May 30 2007 - 10:04:00 EST


On Wednesday, 30 May 2007 15:29, Matthew Garrett wrote:
> On Wed, May 30, 2007 at 11:17:47PM +1000, Nigel Cunningham wrote:
>
> > That aside, keeping the driver layers read-only sounds more complicated
> > than just freezing processes.
>
> It's a problem that effectively has to be solved for STR anyway if
> we're going to suspend without freezing. The midlayers need to be able
> to block requests when the low-level devices are suspended,

Very true. And I think the right order should be to make the midlayers do
this and then remove the freezer from the STR code path, not the other way
around. :-)

> so we can just re-use that code.

Yes, that should be possible.

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