Cc: pm list <linux-pm@...>, LKML <linux-kernel@...>, Nigel Cunningham <nigel@...>, Pavel Machek <pavel@...>, Alan Stern <stern@...>, Oliver Neukum <oliver@...>
On Sun, May 27, 2007 at 11:45:03PM +0200, Rafael J. Wysocki wrote:
Yeah, I forgot the footnote that was going to mention that. Clearly
there are issues if this is on some block device that hasn't been
resumed yet.
I'm not entirely sold on this. The issue is that there's the possibility
of races during suspend/resume? It sounds like that should be
implemented in the driver, rather than depending on a side-effect of
process freezing. Otherwise there's no way of selectively suspending
that device.
I agree that that's an issue right now, but I think we should see if
this is repairable without just breaking those drivers. One option would
be to defer resuming them until userspace is alive again - that would be
no worse than the suspend to RAM case without process freezing.
--
Matthew Garrett | mjg59@srcf.ucam.org
-