From: Andi Kleen Subject: Re: [RFC] get_write_access()/deny_write_access() without inode->i_lock Date: Mon, 20 Jun 2011 12:47:54 -0700 Message-ID: References: <20110619235147.GQ11521@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds To: Al Viro Return-path: In-Reply-To: <20110619235147.GQ11521@ZenIV.linux.org.uk> (Al Viro's message of "Mon, 20 Jun 2011 00:51:47 +0100") Sender: linux-arch-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Al Viro writes: > I'm seriously tempted to throw away i_lock uses in > {get,deny}_write_access(), as in the patch below. The question is, how Are there any known workload where the spinlock contends badly here? Or what's the motivation for it? Thanks, -Andi -- ak@linux.intel.com -- Speaking for myself only