Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753539Ab3EFIwN (ORCPT ); Mon, 6 May 2013 04:52:13 -0400 Received: from merlin.infradead.org ([205.233.59.134]:43994 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752267Ab3EFIwL (ORCPT ); Mon, 6 May 2013 04:52:11 -0400 Date: Mon, 6 May 2013 10:50:25 +0200 From: Peter Zijlstra To: Colin Cross Cc: linux-kernel@vger.kernel.org, Trond Myklebust , Len Brown , Pavel Machek , "Rafael J. Wysocki" , Ingo Molnar , "J. Bruce Fields" , "David S. Miller" , Andrew Morton , Mandeep Singh Baines , Paul Walmsley , Al Viro , "Eric W. Biederman" , Oleg Nesterov , linux-nfs@vger.kernel.org, linux-pm@vger.kernel.org, netdev@vger.kernel.org, Linus Torvalds , Tejun Heo , Ben Chan Subject: Re: [PATCH 1/2] freezer: add unsafe versions of freezable helpers Message-ID: <20130506085025.GB13861@dyad.programming.kicks-ass.net> References: <1367615050-3894-1-git-send-email-ccross@android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1367615050-3894-1-git-send-email-ccross@android.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 18 On Fri, May 03, 2013 at 02:04:09PM -0700, Colin Cross wrote: > NFS calls the freezable helpers with locks held, which is unsafe > and caused lockdep warnings when 6aa9707 "lockdep: check that no > locks held at freeze time" was applied (reverted in dbf520a). > Add new *_unsafe versions of the helpers that will not run the > lockdep test when 6aa9707 is reapplied, and call them from NFS. Am I the only one that would like a bit more information about why NFS does this and why we need to work around it? >From replies in this thread I surmise its got something to do with hard NFS mounts. And I suppose I could go apply google to lkml and try and find the previous discussion, but really this should be in the Changelog. -- 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/