Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755362Ab2FDAUe (ORCPT ); Sun, 3 Jun 2012 20:20:34 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:48572 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755280Ab2FDAUd (ORCPT ); Sun, 3 Jun 2012 20:20:33 -0400 Date: Mon, 4 Jun 2012 01:20:30 +0100 From: Al Viro To: Linus Torvalds Cc: Dave Jones , Linux Kernel , Peter Zijlstra Subject: Re: processes hung after sys_renameat, and 'missing' processes Message-ID: <20120604002030.GT30000@ZenIV.linux.org.uk> References: <20120603223617.GB7707@redhat.com> <20120604000059.GA14144@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1219 Lines: 29 On Sun, Jun 03, 2012 at 05:16:30PM -0700, Linus Torvalds wrote: > On Sun, Jun 3, 2012 at 5:00 PM, Dave Jones wrote: > > > > sysrq-d: http://fpaste.org/ow9O/ > > Ugh. I'm adding PeterZ to the cc, just to see if he can make more sense of it. > > Peter, is there no way to make the lock thing print not just the lock > class name, but also the pointer to the actual *instance* of the lock > held? > > Also, it's a bit unclear to me, but I *think* that most of those users > don't actually "hold" the lock - they are waiting for it. Yes/no? Has to be, unless something _very_ odd is going on... Just how many ->s_vfs_rename_mutex are there on that box? > Does > the lockdep information have the capability to distinguish between > "waiting for" vs "actually successfully owns the lock"? Another question re lockdep - does it scream loudly if process returns to userland without having released some lock? I hope so, but I've never checked that... ;-/ -- 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/