From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([65.50.211.133]:43305 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751609AbdLLPjW (ORCPT ); Tue, 12 Dec 2017 10:39:22 -0500 Date: Tue, 12 Dec 2017 07:39:16 -0800 From: Matthew Wilcox To: Theodore Ts'o Cc: Byungchul Park , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , kernel-team@lge.com, linux-block , linux-fsdevel , Oleg Nesterov , Tejun Heo Subject: Re: [PATCH] locking/lockdep: Add CONFIG_LOCKDEP_AGGRESSIVE Message-ID: <20171212153916.GA9570@bombadil.infradead.org> References: <20171211035017.32678-1-tytso@mit.edu> <20171212130343.6nwxip3i4ua24dwr@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171212130343.6nwxip3i4ua24dwr@thunk.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Dec 12, 2017 at 08:03:43AM -0500, Theodore Ts'o wrote: > On Tue, Dec 12, 2017 at 02:20:32PM +0900, Byungchul Park wrote: > > The *problem* is false positives, since locks and waiters in > > kernel are not classified properly, at the moment, which is just > > a fact that is not related to cross-release stuff at all. IOW, > > that would be useful once all locks and waiters are classified > > correctly. It might take time but the classifying is a must-do > > we have to keep doing. > > This is the wrong attitude. The reason why LOCKDEP was so powerful > was because it automatically classified locks, instead of requiring > developers to document the locking hierarchy. Requiring developers to > have to document and classified locks --- especially when the d*mned > mechanisms for doign so are so primitive and not even documented --- > is a complete non-strarter. That's not fair. We had to annotate i_mutex nesting, for example, and several other places. crosslock doesn't change anything in this respect, it's just that the case that you hit every damn day as a filesystem developer is something that the normal person almost never does. > So are you willing to take my patch? Or give me permission to keep in > the ext4 tree? He sent a patch earlier ...