From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:41181 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727052AbeIQUOi (ORCPT ); Mon, 17 Sep 2018 16:14:38 -0400 Subject: Re: [PATCH v9 3/5] vfs: Use dlock list for superblock's inode list To: Davidlohr Bueso Cc: Alexander Viro , Jan Kara , Jeff Layton , "J. Bruce Fields" , Tejun Heo , Christoph Lameter , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Andi Kleen , Dave Chinner , Boqun Feng References: <1536780532-4092-1-git-send-email-longman@redhat.com> <1536780532-4092-4-git-send-email-longman@redhat.com> <20180917141528.GI3902@linux-r8p5> From: Waiman Long Message-ID: <48944e3e-19ae-bf3d-e4d5-1e0b31a793a9@redhat.com> Date: Mon, 17 Sep 2018 10:46:55 -0400 MIME-Version: 1.0 In-Reply-To: <20180917141528.GI3902@linux-r8p5> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 09/17/2018 10:15 AM, Davidlohr Bueso wrote: > On Wed, 12 Sep 2018, Waiman Long wrote: > >> @@ -927,8 +921,6 @@ struct inode *new_inode(struct super_block *sb) >> { >> struct inode *inode; >> >> - spin_lock_prefetch(&sb->s_inode_list_lock); > > I think we can get rid of the spin_lock_prefetch call altogether as > this is the > only user left afaict. You are right. I will send out an additional patch to get rid of the spin_lock_prefetch() function. Cheers, Longman