Re: -rc6: something (probably active usb bluetooth) blocks suspend

Pavel Machek
2009-11-16T14:22:36Z

On Mon 2009-11-16 14:43:20, Oliver Neukum wrote:
> Am Montag, 16. November 2009 12:22:54 schrieb Pavel Machek:
> > Linux amd 2.6.32-rc6-00498-g05b553a-dirty #89 SMP Fri Nov 13 10:43:31
> > CET 2009 i686 GNU/Linux
> >
> > ...and yes, it is a regression. Hw is thinkpad x60.
> >
> > Tried to suspend, machine came right back, used radio kill switch, and
> > it suspended ok. Relevant messages seem to be:
>
> I forgot to ask. Is this repeatable? The code is build on the

It happened once...

> assumption
> that workqueues are frozen as the system calls suspend for system
> sleep. If that assumption is wrong, a race can lead to this failure.
> Is it wrong?

There are two kinds of workqueues -- AFAICT -- kind one is frozen,
kind two is not.