Re: parallel suspend/resume

Alan Stern
2007-12-07T16:22:08Z

On Fri, 7 Dec 2007, Pavel Machek wrote:

> On Mon 2007-10-08 15:46:39, 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?
>
> No idea, but thread per device does not seem _that_ bad. Debuggability
> worries me more.

What about ordering constraints? A lot of them aren't explicit. We
just depend on the fact that devices get suspended in reverse order of
registration. You can't do that in parallel.

Alan Stern