From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH 0/3] mmap vs NFS Date: Wed, 14 Nov 2007 21:19:22 +0100 Message-ID: <1195071564.22457.0.camel@lappy> References: <20071114200136.009242000@chello.nl> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, Linus Torvalds , Andrew Morton , Trond Myklebust , Nick Piggin , Hugh Dickins To: linux-kernel@vger.kernel.org Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:45828 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753525AbXKNUUH (ORCPT ); Wed, 14 Nov 2007 15:20:07 -0500 In-Reply-To: <20071114200136.009242000@chello.nl> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Seems I forgot to mention this is an RFC :-) On Wed, 2007-11-14 at 21:01 +0100, Peter Zijlstra wrote: > Currently there is an AB-BA deadlock in NFS mmap. > > nfs_file_mmap() can take i_mutex, while holding mmap_sem, whereas the regular > locking order is the other way around. > > This patch-set attempts to solve this issue. >