From: Peter Zijlstra Subject: Re: [PATCH 1/2] freezer: add unsafe versions of freezable helpers Date: Mon, 6 May 2013 10:50:25 +0200 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 Return-path: Content-Disposition: inline In-Reply-To: <1367615050-3894-1-git-send-email-ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Colin Cross Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linus Torvalds , Tejun Heo , Ben Chan List-Id: linux-pm@vger.kernel.org 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-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html