From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f72.google.com (mail-it0-f72.google.com [209.85.214.72]) by kanga.kvack.org (Postfix) with ESMTP id 7E4D828024B for ; Tue, 13 Sep 2016 06:05:36 -0400 (EDT) Received: by mail-it0-f72.google.com with SMTP id 192so192058141itm.2 for ; Tue, 13 Sep 2016 03:05:36 -0700 (PDT) Received: from merlin.infradead.org (merlin.infradead.org. [2001:4978:20e::2]) by mx.google.com with ESMTPS id y203si25713717itc.30.2016.09.13.03.05.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Sep 2016 03:05:26 -0700 (PDT) Date: Tue, 13 Sep 2016 12:05:20 +0200 From: Peter Zijlstra Subject: Re: [PATCH v3 07/15] lockdep: Implement crossrelease feature Message-ID: <20160913100520.GA5035@twins.programming.kicks-ass.net> References: <1473759914-17003-1-git-send-email-byungchul.park@lge.com> <1473759914-17003-8-git-send-email-byungchul.park@lge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1473759914-17003-8-git-send-email-byungchul.park@lge.com> Sender: owner-linux-mm@kvack.org List-ID: To: Byungchul Park Cc: mingo@kernel.org, tglx@linutronix.de, walken@google.com, boqun.feng@gmail.com, kirill@shutemov.name, linux-kernel@vger.kernel.org, linux-mm@kvack.org, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, npiggin@gmail.com On Tue, Sep 13, 2016 at 06:45:06PM +0900, Byungchul Park wrote: > Crossrelease feature calls a lock 'crosslock' if it is releasable > in any context. For crosslock, all locks having been held in the > release context of the crosslock, until eventually the crosslock > will be released, have dependency with the crosslock. > > Using crossrelease feature, we can detect deadlock possibility even > for lock_page(), wait_for_complete() and so on. > Completely inadequate. Please explain how cross-release does what it does. Talk about lock graphs and such. I do not have time to reverse engineer this stuff. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org