From: Christoph Hellwig Subject: Re: [PATCH 2/3] Remove BKL from fs/locks.c Date: Sun, 11 Jul 2010 00:01:10 +0200 Message-ID: <20100710220110.GA13380@lst.de> References: <1278798701-11171-1-git-send-email-arnd@arndb.de> <1278798701-11171-3-git-send-email-arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, John Kacur , Frederic Weisbecker , Matthew Wilcox , Christoph Hellwig , Trond Myklebust , "J. Bruce Fields" , Miklos Szeredi , Ingo Molnar , linux-fsdevel@vger.kernel.org To: Arnd Bergmann Return-path: Content-Disposition: inline In-Reply-To: <1278798701-11171-3-git-send-email-arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sat, Jul 10, 2010 at 11:51:40PM +0200, Arnd Bergmann wrote: > From: Matthew Wilcox > > I've taken a patch originally written by Matthew Wilcox and > ported it to the current version. Unfortunately, the change > conflicts with the use of lockd, which still heavily uses > the big kernel lock. > > As a workaround, I've made the behaviour configurable, > it either uses the BKL when it's enabled or a spinlock > when the BKL (and consequently nfs and lockd) are > disabled. Defintively not something we want in mainline. But keep poking the nfs guys to sort the lockd mess out for real.