Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261215AbVDDKui (ORCPT ); Mon, 4 Apr 2005 06:50:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261216AbVDDKuh (ORCPT ); Mon, 4 Apr 2005 06:50:37 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:24034 "EHLO parcelfarce.linux.theplanet.co.uk") by vger.kernel.org with ESMTP id S261215AbVDDKuc (ORCPT ); Mon, 4 Apr 2005 06:50:32 -0400 Date: Mon, 4 Apr 2005 11:50:29 +0100 From: Al Viro To: "Tomita, Haruo" Cc: LKML Subject: Re: Isn't there race issue during fput() and the dentry_open()? Message-ID: <20050404105029.GY8859@parcelfarce.linux.theplanet.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 746 Lines: 18 On Mon, Apr 04, 2005 at 08:42:30AM +0900, Tomita, Haruo wrote: > Indeed, Is there a good method of debugging this issue? > In the check on the source, a doubtful place was not found except file_kill(). The obvious way would be to add a variable and do something like #define file_list_lock() \ do { \ spin_lock(&files_lock); \ holder_pid = pid; \ } while(0) and add a way to check its value (anything - sysrq, whatever). That assumes that you can reproduce that deadlock at will, obviously... - 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/