On Mon, May 26, 2014 at 1:51 PM, Martin Pieuchot <mpieuc...@nolizard.org>wrote:

> On 26/05/14(Mon) 13:46, Martin Pieuchot wrote:
> > It is currently possible to trigger a race between the thread doing
> > DVACT_QUIESCE and the USB thread exploring the buses.
> >
> > This race is really easy to reproduce if you have a lot of controllers
> > and you try to suspend just after resuming.  In the best case, it blows
> > your kernel during suspend, in the worst case it blows it at resume :)
> >
> > So here's a diff to avoid such race by deferring the action of detaching
> > the root hub to the USB thread doing exploration.
> >
> > I'd appreciate if people having troubles with suspend/resume could try
> > this diff an report back.
> Previous diff was lacking the header chunk, please use this one instead.

Hi Martin,

This seems to fix the freezes I encounter since some time when suspending
my laptop.


Reply via email to