From mboxrd@z Thu Jan 1 00:00:00 1970 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 Return-path: Received: from mga09.intel.com ([134.134.136.24]:37492 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751731Ab1FTTtW (ORCPT ); Mon, 20 Jun 2011 15:49:22 -0400 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: To: Al Viro Cc: linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds 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