Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754462Ab0ALAcm (ORCPT ); Mon, 11 Jan 2010 19:32:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754315Ab0ALAcm (ORCPT ); Mon, 11 Jan 2010 19:32:42 -0500 Received: from out01.mta.xmission.com ([166.70.13.231]:60141 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751895Ab0ALAcl (ORCPT ); Mon, 11 Jan 2010 19:32:41 -0500 To: Tejun Heo Cc: "Rafael J. Wysocki" , =?utf-8?Q?Am=C3=A9rico?= Wang , Miles Lane , LKML , Greg Kroah-Hartman , Jesse Barnes , Len Brown , Pavel Machek , Arjan van de Ven , Peter Zijlstra , Ingo Molnar Subject: Re: 2.6.33-rc3 -- INFO: possible recursive locking -- (s_active){++++.+}, at: [] sysfs_hash_and_remove+0x3d/0x4f References: <2375c9f91001100058w4bac1cf9s183fc37eafbfde75@mail.gmail.com> <201001101935.31882.rjw@sisk.pl> <4B4BC2D3.7070003@kernel.org> From: ebiederm@xmission.com (Eric W. Biederman) Date: Mon, 11 Jan 2010 16:32:31 -0800 In-Reply-To: <4B4BC2D3.7070003@kernel.org> (Tejun Heo's message of "Tue\, 12 Jan 2010 09\:31\:15 +0900") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-XM-SPF: eid=;;;mid=;;;hst=in02.mta.xmission.com;;;ip=76.21.114.89;;;frm=ebiederm@xmission.com;;;spf=neutral X-SA-Exim-Connect-IP: 76.21.114.89 X-SA-Exim-Mail-From: ebiederm@xmission.com X-SA-Exim-Scanned: No (on in02.mta.xmission.com); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1102 Lines: 29 Tejun Heo writes: > On 01/11/2010 11:26 AM, Eric W. Biederman wrote: >> From: Eric W. Biederman >> Date: Sun, 10 Jan 2010 18:13:35 -0800 >> Subject: [PATCH] sysfs: Add support for lockdep subclasses to s_active >> >> We have apparently valid cases where the code for a sysfs attribute >> removes other sysfs attributes. Without support for subclasses >> lockdep flags a possible recursive lock problem as it figures >> the first sysfs attribute could be attempting to remove itself. >> >> By adding support for sysfs subclasses we can teach lockdep to >> distinguish between different types of sysfs attributes and not >> get confused. >> >> Signed-off-by: Eric W. Biederman > > Acked-by: Tejun Heo Now if I can just get a Tested-by this patch will be all set ;) Eric -- 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/