Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753953AbYJZSDC (ORCPT ); Sun, 26 Oct 2008 14:03:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751424AbYJZSCv (ORCPT ); Sun, 26 Oct 2008 14:02:51 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:44488 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751391AbYJZSCu (ORCPT ); Sun, 26 Oct 2008 14:02:50 -0400 Date: Sun, 26 Oct 2008 11:01:11 -0700 (PDT) From: Linus Torvalds To: "Rafael J. Wysocki" cc: Alan Stern , "Mikko C." , Kernel development list , USB list , Andrew Morton , Oleg Nesterov , Heiko Carstens , Peter Zijlstra , Ingo Molnar Subject: Re: Bug in workqueues [was: Usb devices randomly aren't detected with 2.6.28-rc1-git1] In-Reply-To: <200810261855.47580.rjw@sisk.pl> Message-ID: References: <200810261855.47580.rjw@sisk.pl> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 928 Lines: 25 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/