Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751048AbWINTLe (ORCPT ); Thu, 14 Sep 2006 15:11:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751050AbWINTLe (ORCPT ); Thu, 14 Sep 2006 15:11:34 -0400 Received: from ug-out-1314.google.com ([66.249.92.172]:28288 "EHLO ug-out-1314.google.com") by vger.kernel.org with ESMTP id S1751048AbWINTLd (ORCPT ); Thu, 14 Sep 2006 15:11:33 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Lnxeqo6xzP7ldZPGOF55zYYj16BIrvcASlu7S1xVo66RT++Q356phNHNm8Hgkkuekv6GaVsv80JToMqDAbYDDeqpGF4h0GugNuqZYxktrVpFVjuesQwmNb3LArXRmLx7xJDNYZM/foauySikGvhot1ra7ewjKlkQs0jc3G+y5ww= Message-ID: Date: Thu, 14 Sep 2006 15:11:32 -0400 From: "Dmitry Torokhov" To: "Arjan van de Ven" Subject: Re: [PATCH 0/3] Synaptics - fix lockdep warnings Cc: "Jiri Kosina" , lkml , "Ingo Molnar" In-Reply-To: <1158260584.4200.3.camel@laptopd505.fenrus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1158260584.4200.3.camel@laptopd505.fenrus.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 874 Lines: 24 On 9/14/06, Arjan van de Ven wrote: > > > > > I think it is - as far as I understand the reason for not tracking > > every lock individually is just that it is too expensive to do by > > default. > > that is not correct. While it certainly plays a role, > the other reason is that you can find out "class" level locking rules > (such as inode->i_mutex comes before ) for all inodes at a > time; eg no need to see every inode do this before you can find the > deadlock. > OK, I can see that. However you must agree that for certain locks we do want to track them individually, right? -- Dmitry - 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/