Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1317107ybc; Tue, 12 Nov 2019 18:44:15 -0800 (PST) X-Google-Smtp-Source: APXvYqz5q5YhRCELYvwPTodVvmZgy/JjEguCroDVSCG5PCsqo6NQpgc8BNa9+P0i/7gZu8gn+fH7 X-Received: by 2002:a05:6402:213:: with SMTP id t19mr1146890edv.7.1573613055464; Tue, 12 Nov 2019 18:44:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573613055; cv=none; d=google.com; s=arc-20160816; b=DztW/fg3MPsEbC2t2IFBD7c4RY9dv/aB9bmrFt68y6WMJCQOTE9CHUOeiSccTZCrj+ /IB1z7c4FWO51Xsl2FHjLgEFfqrG6uJwtqfuLOSmETZRiaLUAlGQ5N9t/4NJ/p5Z3f7V 2sNqEKPd9sGCoHjmYkLmO+sVUOQi91t/NG16exq8jN9uXEB7iFmbLzVt32G6NieMUnj5 1ie56sIuaNl/3DPIfNWYTIPdqZWhRonD5Qla5YFKwSaPNAnhwUaLLbT79UYvi5/NveEg 2G9c6i5wy+m2EkHnr9XtFNcVyPoMb7oHPZmlaNdpZGH/tplmkA7vHu6/NA+F3gtJDmvk Zs/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=x/CaUYKgR3Smd6/0AO5jU3CeUKD91zphMkoFfKURmPI=; b=HfP31nYYa2P2hT5iB5N4k59hmT55y2irHIQp4RW9ssrSBOPDIDcTX9jdLeWD7gru/m rJuRzb3Lw6lSbQSia/ypycEKQ8kDv3pocWiutxsgzMLMGYyBzjIx5ao6SHvgfaMf29C7 2hzOVwdRz1ShBxw/qSiG36QTYvM64vZG3jhod1thvm2UX25EIw3OSYiWcF581sJntN0l u1bAqjuhsC27/uyJCs4u2rdvB9j5g1tgD1WvqPUDFadXF6azIx2r2d02QNYi2WS/XxPL DHkS2jmaIJoaFB/mqbs3UYEJeF2hQBoj8eqKhwraMwvZHXtB52tcvM6/b5sQ13ae5kvE 0/CA== 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=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g17si277620edq.176.2019.11.12.18.43.51; Tue, 12 Nov 2019 18:44:15 -0800 (PST) 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=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727671AbfKMClD (ORCPT + 99 others); Tue, 12 Nov 2019 21:41:03 -0500 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:57903 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727474AbfKMClD (ORCPT ); Tue, 12 Nov 2019 21:41:03 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R981e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01f04446;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=16;SR=0;TI=SMTPD_---0ThwxWMo_1573612858; Received: from IT-FVFX43SYHV2H.local(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0ThwxWMo_1573612858) by smtp.aliyun-inc.com(127.0.0.1); Wed, 13 Nov 2019 10:40:59 +0800 Subject: Re: [PATCH v2 6/8] mm/lru: remove rcu_read_lock to fix performance regression To: Matthew Wilcox Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, mgorman@techsingularity.net, tj@kernel.org, hughd@google.com, khlebnikov@yandex-team.ru, daniel.m.jordan@oracle.com, yang.shi@linux.alibaba.com, Johannes Weiner , Roman Gushchin , Shakeel Butt , Chris Down , Thomas Gleixner References: <1573567588-47048-1-git-send-email-alex.shi@linux.alibaba.com> <1573567588-47048-7-git-send-email-alex.shi@linux.alibaba.com> <20191112143844.GB7934@bombadil.infradead.org> From: Alex Shi Message-ID: Date: Wed, 13 Nov 2019 10:40:58 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191112143844.GB7934@bombadil.infradead.org> Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ?? 2019/11/12 ????10:38, Matthew Wilcox ะด??: > On Tue, Nov 12, 2019 at 10:06:26PM +0800, Alex Shi wrote: >> Intel 0day report there are performance regression on this patchset. >> The detailed info points to rcu_read_lock + PROVE_LOCKING which causes >> queued_spin_lock_slowpath waiting too long time to get lock. >> Remove rcu_read_lock is safe here since we had a spinlock hold. > Argh. You have not sent these patches in a properly reviewable form! > I wasted all that time reviewing the earlier patch in this series only to > find out that you changed it here. FIX THE PATCH, don't send a fix-patch > on top of it! > Hi Matthew, Very sorry for your time! The main reasons I use a separate patch since a, Intel 0day asking me to credit their are founding, and I don't know how to give a clearly/elegant explanation for a non-exist regression in a fixed patch. b, this regression is kindly pretty tricky. Maybe it's better saying thanks in version change log of cover-letter? Anyway, Thanks a lot for your review! Alex