lkml.org 
[lkml]   [2008]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Bug in workqueues [was: Usb devices randomly aren't detected with 2.6.28-rc1-git1]


On Sun, 26 Oct 2008, Rafael J. Wysocki wrote:
> >
> > So apparently flush_workqueue() isn't working.
>
> Let's make that more visible (adding CCs). :-)

Isn't this the same thing that was fixed by commit
4403b406d4369a275d483ece6ddee0088cc0d592: aka 'Revert "Call
init_workqueues before pre smp initcalls."'

The bug was that init_workqueues was called too early, causing it to have
wrong initialization of its CPU masks, which caused various random
problems since it wouldn't run workqueues on anything but the boot CPU.

It is hidden by various config options (eg if you enable suspend, for
example), which is why it probably took some time for people to notice.

Linus


\
 
 \ /
  Last update: 2008-10-26 19:05    [W:0.056 / U:4.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site