Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755030AbYAOAb6 (ORCPT ); Mon, 14 Jan 2008 19:31:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751566AbYAOAbu (ORCPT ); Mon, 14 Jan 2008 19:31:50 -0500 Received: from wx-out-0506.google.com ([66.249.82.234]:55743 "EHLO wx-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751319AbYAOAbt (ORCPT ); Mon, 14 Jan 2008 19:31:49 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=c41WIYGADUHEVEJyxy9p43nNm2IJeHk8o8qjOZjyAsNE2L6FGh1DlzSShJWifBlT/tmcf2fD7XSkymwIAImEHGiqtA5CbFWXGPFSQKh2f6B0uYQLCOQ0PC/j9bbXK9WXXK7Gv2jpHZF+zjkaFgltTTxAfFqZDGXMwhilg632nDg= Message-ID: Date: Tue, 15 Jan 2008 08:31:48 +0800 From: "Dave Young" To: "Johannes Berg" Subject: Re: 2.6.24-rc7 lockdep warning when poweroff Cc: "Peter Zijlstra" , "Linus Torvalds" , "Linux Kernel Mailing List" , "Ingo Molnar" In-Reply-To: <1200307896.5887.42.camel@johannes.berg> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1200302644.7415.6.camel@twins> <1200306902.5887.39.camel@johannes.berg> <1200307288.7415.11.camel@twins> <1200307896.5887.42.camel@johannes.berg> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 977 Lines: 35 On Jan 14, 2008 6:51 PM, Johannes Berg wrote: > > > The warning that triggered (lockdep.c:700) means that one class (key) > > was used with more than one name. > > Right. > > > Looking at cleanup_workqueue_thread(), the lock_acquire() there works on > > wq->lockdep_map, and that is only initialized at one spot: > > __create_workqueue_key(), thus it stands to reason that that was > > mis-used. > > Oh ok, yes, makes sense. Maybe something is generating a workqueue with > a name that's passed in but the key is statically from that place. I'll > try to find it. I add some debug printk and found the names : block_osm/exec_osm in drivers/message/i2o maybe this helps. Regards dave > > johannes > -- 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/