Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp569900ybz; Fri, 17 Apr 2020 06:21:01 -0700 (PDT) X-Google-Smtp-Source: APiQypIQ1WL9ZWMonVR2ZgpxKMPiQcVkU0ecyWYv9quGhtC17aPy5F91wA3acqQHbdHcxgaP1tTW X-Received: by 2002:a17:906:3443:: with SMTP id d3mr3134079ejb.18.1587129661296; Fri, 17 Apr 2020 06:21:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587129661; cv=none; d=google.com; s=arc-20160816; b=mEn+cOPmffdpvEWCxfny/xkfFxAUjVf8x8RlfWNEVeoMXjDZyuocyDOath4/0z2NMT L9PJRkdRbfwIQvvC+FjKjSnajSgpRyHR/2ccuiC94ZGWg4Cav3SqZjn4XLsKjtJ4+jcU bXKrLGtEF+f9F5u7XjuOK7tFB1cpQZQ3Col6iybX2o+TVCYceHZ5jX0mnveatu1z7bCe 7Mg7+jFVgvfad99UlpCnm/AnWpb5F8n3LK7NDYoqjL9vcz1stbu9mEPBFMGyL/NiBUHl PbzMNVE8VSrggz4xcvYHDTrYjVRb8LIaFCNAITOjaEF7jUw+YfKvj3saTv2FIbNE3tnM aIyg== 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=ilyeyjpFyMbFX8vGSBDBvCLaZbwQV2rXUE535n0KhA8=; b=gKiYq5Sz67wa50KVnSeGkAuqgO3m6ExBjDSe9GSVvCwZiH88nIYMg0fu5HrlfyiBf1 C7ZXkoqs60JTx/kFxqUrtn72vLktgLpLmoiG/x9tCsBLU1WYWueqc0uYc/Yl2wTY+6Ug Bv4WfNHCsmrQBVXRILzi46gkJpDIPi6HL3bIZ65lw5NXIWhgFZr0ooj17mSco89L7Thu 3TGCZQrNqEsI8nFdTOxaguSDPepjOGi32chrfcSAAPsnxWyiuA/FlkCODfeRxfqej7Om hkybrrdc9DV8i5A0kA+C/blUlxItyC9Gee/b2hXc2+RLmPgRSuP521pDlru/XYXtrA8j UFlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id h59si628409edc.222.2020.04.17.06.20.37; Fri, 17 Apr 2020 06:21:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730141AbgDQNTj (ORCPT + 99 others); Fri, 17 Apr 2020 09:19:39 -0400 Received: from out30-56.freemail.mail.aliyun.com ([115.124.30.56]:59829 "EHLO out30-56.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729799AbgDQNTj (ORCPT ); Fri, 17 Apr 2020 09:19:39 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e07484;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=39;SR=0;TI=SMTPD_---0TvoZ8X3_1587129567; Received: from IT-FVFX43SYHV2H.local(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0TvoZ8X3_1587129567) by smtp.aliyun-inc.com(127.0.0.1); Fri, 17 Apr 2020 21:19:28 +0800 Subject: Re: [PATCH v8 03/10] mm/lru: replace pgdat lru_lock with lruvec lock To: Shakeel Butt , Johannes Weiner Cc: Andrew Morton , Cgroups , LKML , Linux MM , Mel Gorman , Tejun Heo , Hugh Dickins , Konstantin Khlebnikov , Daniel Jordan , Yang Shi , Matthew Wilcox , Michal Hocko , Vladimir Davydov , Roman Gushchin , Chris Down , Thomas Gleixner , Vlastimil Babka , Qian Cai , Andrey Ryabinin , "Kirill A. Shutemov" , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Andrea Arcangeli , David Rientjes , "Aneesh Kumar K.V" , swkhack , "Potyra, Stefan" , Mike Rapoport , Stephen Rothwell , Colin Ian King , Jason Gunthorpe , Mauro Carvalho Chehab , Peng Fan , Nikolay Borisov , Ira Weiny , Kirill Tkhai , Yafang Shao , Wei Yang References: <1579143909-156105-1-git-send-email-alex.shi@linux.alibaba.com> <1579143909-156105-4-git-send-email-alex.shi@linux.alibaba.com> <20200116215222.GA64230@cmpxchg.org> <20200413180725.GA99267@cmpxchg.org> <8e7bf170-2bb5-f862-c12b-809f7f7d96cb@linux.alibaba.com> <20200414163114.GA136578@cmpxchg.org> <54af0662-cbb4-88c7-7eae-f969684025dd@linux.alibaba.com> <0bed9f1a-400d-d9a9-aeb4-de1dd9ccbb45@linux.alibaba.com> <20200416152830.GA195132@cmpxchg.org> From: Alex Shi Message-ID: <6c114a89-7120-13d2-35ee-85c1e2933fca@linux.alibaba.com> Date: Fri, 17 Apr 2020 21:18:36 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2020/4/17 上午1:47, Shakeel Butt 写道: > I think this would be a very good cleanup and will make the code much > more readable. I totally agree to keep this separate from the other > work. Please do CC me the series once it's ready. > > Now regarding the per-memcg LRU locks, Alex, did you get the chance to > try the workload Hugh has provided? I was planning of posting Hugh's > patch series but Hugh advised me to wait for your & Johannes's > response since you both have already invested a lot of time in your > series and I do want to see how Johannes's TestClearPageLRU() idea > will look like, so, I will hold off for now. > Hugh Dickin's testcase is great. It reveal the race on memcg charge in hours. Thanks Alex