Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754426Ab0ALA3x (ORCPT ); Mon, 11 Jan 2010 19:29:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754270Ab0ALA3x (ORCPT ); Mon, 11 Jan 2010 19:29:53 -0500 Received: from hera.kernel.org ([140.211.167.34]:46264 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751536Ab0ALA3w (ORCPT ); Mon, 11 Jan 2010 19:29:52 -0500 Message-ID: <4B4BC2D3.7070003@kernel.org> Date: Tue, 12 Jan 2010 09:31:15 +0900 From: Tejun Heo User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-1.1.1 Thunderbird/3.0 MIME-Version: 1.0 To: "Eric W. Biederman" CC: "Rafael J. Wysocki" , =?ISO-8859-1?Q?Am=E9rico_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> In-Reply-To: X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (hera.kernel.org [127.0.0.1]); Tue, 12 Jan 2010 00:29:06 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 25 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 -- tejun -- 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/