Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4073597imm; Mon, 17 Sep 2018 07:48:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbNaIIXfYpk4lOFce74MVO94QvWwCpVGUXc6ZYMBIIhRm5I0PuayuwlcENB37FFTx01wkFl X-Received: by 2002:a17:902:20c6:: with SMTP id v6-v6mr25585317plg.228.1537195735623; Mon, 17 Sep 2018 07:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537195735; cv=none; d=google.com; s=arc-20160816; b=YiWfAiCz9X5MsKoOwKOhhAkdEGN84LQawJBen2htDGDA34Zp1RR5MI2Stuyo+0iGBm xgzLjRr6vzNgb1SpzbJ0u90d0MXtcxxqdjiBO+tLSEnVD2aqYQGfxeGq7r1rJGmluMPi rjjdlLHCjI8YTY75FUlAPMLdDOEmEZtSC8tTrt8vZ/k5DgGErFi5eY62GgPRFzHyTpSv WcKkVzxI/wXBCaUnQtdcXQV0uKQA35n/ONc+XPV2YukEKE0yFsh0/ZwllVn91GhBbt44 rfWQTRw86s4XSFx8iaaTy2rMJsLl666zf04PHr7AAVVl+Mz80lEDedej/5ayWwAdNkc2 ndcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=TRPlve0tVaEoy1h6yjvjPcI6ByDlLp69PJdBh0SqkDc=; b=BGReo3Hh7ke3DYNGmkBhGjdIR8mdlIanqsDrUqeBhGUYLVmRcf3y+QxwUFYLeCMQMZ YOAOMnGlCwHmKwUoMcTORmOGPKpS7LbMZbu3a0uoyrevjZ4fcvOVyj+wADQCjyDy0wda KGXl1eWlJMblIeWZnNc3xVg5ZNu+QI8ivUfJrlc6KvKLCOjNo7xssQfmxcLbUhi2EKMW yeovpMozMTFQPqWS1pIz7HEbrGRjXuTM5KrMARnaivstuXXQKfH0Gy//9r2ihyCdyPj5 ZOWjVjTm0bqV1wZbRnEALQjwXGs4Pn6IjYN+IW3tr2wDcwcf7dPBTRzj08VeqjMSuWDA pngA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f10-v6si15317281pgj.397.2018.09.17.07.48.29; Mon, 17 Sep 2018 07:48:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728781AbeIQUOi (ORCPT + 99 others); Mon, 17 Sep 2018 16:14:38 -0400 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 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 700943086250; Mon, 17 Sep 2018 14:46:58 +0000 (UTC) Received: from llong.remote.csb (dhcp-17-55.bos.redhat.com [10.18.17.55]) by smtp.corp.redhat.com (Postfix) with ESMTP id 719C378C1F; Mon, 17 Sep 2018 14:46:55 +0000 (UTC) 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 Organization: Red Hat Message-ID: <48944e3e-19ae-bf3d-e4d5-1e0b31a793a9@redhat.com> Date: Mon, 17 Sep 2018 10:46:55 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 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 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Mon, 17 Sep 2018 14:46:59 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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