From: Arnd Bergmann Subject: Re: [PATCH 1/5] VFS: Do (nearly) lockless generic_file_llseek Date: Fri, 17 Jun 2011 14:40:14 +0200 Message-ID: <201106171440.14224.arnd@arndb.de> References: <1308258442-19804-1-git-send-email-andi@firstfloor.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: viro@zeniv.linux.org.uk, hch@infradead.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Andi Kleen To: Andi Kleen Return-path: In-Reply-To: <1308258442-19804-1-git-send-email-andi@firstfloor.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thursday 16 June 2011 23:07:18 Andi Kleen wrote: > So still need a lock, but can use a cheap local one. > > This patch implements this new scheme in generic_file_llseek. > I dropped generic_file_llseek_unlocked and changed all callers. What about default_llseek? If you change generic_file_llseek, you should probably change that, too. Arnd