Messages in this thread | | | Date | Sun, 26 Oct 2008 11:01:11 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: 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
| |