Re: parallel suspend/resume

Alan Stern
2007-10-09T15:54:48Z

On Mon, 8 Oct 2007, Marcelo Tosatti wrote:

> Hi,
>
> I spent some time working with the parallel suspend/resume idea, even
> wrote a simple patch (attached), but that obviously does not scale to
> large number of devices.
>
> What would be a better approach?

In general, parallel suspend/resume isn't easy to do correctly. There
are lots of constraints on the order in which devices can be suspended,
many of them not explicitly stated anywhere. I don't think it is
feasible to encapsulate the constraint information in the PM core; if
anything, it should be left up to the individual subsystems to suspend
or resume their devices in parallel.

Alan Stern