From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH 0/3] mmap vs NFS From: Trond Myklebust In-Reply-To: <20071114200136.009242000@chello.nl> References: <20071114200136.009242000@chello.nl> Content-Type: text/plain Date: Wed, 14 Nov 2007 16:27:32 -0500 Message-Id: <1195075652.7584.61.camel@heimdal.trondhjem.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, Linus Torvalds , Andrew Morton , Nick Piggin , Hugh Dickins List-ID: 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. Looks good from the NFS point of view. Acked-by: Trond Myklebust -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org