From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15904C4363A for ; Mon, 26 Oct 2020 01:43:26 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 87D0A22282 for ; Mon, 26 Oct 2020 01:43:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 87D0A22282 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BDCA66B005D; Sun, 25 Oct 2020 21:43:24 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B8C656B0062; Sun, 25 Oct 2020 21:43:24 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A7ABD6B0068; Sun, 25 Oct 2020 21:43:24 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0053.hostedemail.com [216.40.44.53]) by kanga.kvack.org (Postfix) with ESMTP id 7B4786B005D for ; Sun, 25 Oct 2020 21:43:24 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 00A533625 for ; Mon, 26 Oct 2020 01:43:24 +0000 (UTC) X-FDA: 77412379128.21.ducks96_250385f2726f Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin21.hostedemail.com (Postfix) with ESMTP id D4BE7180442C2 for ; Mon, 26 Oct 2020 01:43:23 +0000 (UTC) X-HE-Tag: ducks96_250385f2726f X-Filterd-Recvd-Size: 3262 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by imf25.hostedemail.com (Postfix) with ESMTP for ; Mon, 26 Oct 2020 01:43:22 +0000 (UTC) X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=26;SR=0;TI=SMTPD_---0UD7TiN9_1603676592; Received: from IT-FVFX43SYHV2H.local(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0UD7TiN9_1603676592) by smtp.aliyun-inc.com(127.0.0.1); Mon, 26 Oct 2020 09:43:13 +0800 Subject: Re: [PATCH v19 18/20] mm/lru: replace pgdat lru_lock with lruvec lock To: Hugh Dickins , Rong Chen Cc: akpm@linux-foundation.org, mgorman@techsingularity.net, tj@kernel.org, khlebnikov@yandex-team.ru, daniel.m.jordan@oracle.com, willy@infradead.org, lkp@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, shakeelb@google.com, iamjoonsoo.kim@lge.com, richard.weiyang@gmail.com, kirill@shutemov.name, alexander.duyck@gmail.com, Johannes Weiner , Yu Zhao , mhocko@suse.com, vdavydov.dev@gmail.com, shy828301@gmail.com, aaron.lwe@gmail.com, Michal Hocko , Yang Shi , "lkp@linux.intel.com" References: <1600918115-22007-1-git-send-email-alex.shi@linux.alibaba.com> <1600918115-22007-19-git-send-email-alex.shi@linux.alibaba.com> From: Alex Shi Message-ID: Date: Mon, 26 Oct 2020 09:41:20 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: =E5=9C=A8 2020/10/26 =E4=B8=8A=E5=8D=885:51, Hugh Dickins =E5=86=99=E9=81= =93: > [PATCH] mm/lru: minimize workingset_age_nonresident() interference >=20 > 1. move_pages_to_lru() batch workingset_age_nonresident() (from Yu Zhao= ) > 2. workingset_age_nonresident() after unlock of lru_lock (from Yu Zhao) > 3. lru_note_cost_unlock_irq() to remove an unlock+lock of lru_lock > 4. lru_note_cost_unlock_irq() include updates of nonresident_age > 5. workingset_refault() use that OR workingset_age_nonresident() >=20 > Of those, I expect 1 & 2 (from Yu Zhao) to be the most significant, > increasingly so with more cpus, increasingly so with more levels in > the memcg hierarchy. >=20 > Signed-off-by: Hugh Dickins > Cc: Yu Zhao > Cc: Johannes Weiner Hi Hugh, Thanks a lot for checking and patch. I am in traveling today. So just can pick and put it as lruv21 branch on my github tree: https://github.com/alexshi/linux.git Hi Rong, We will very appreciate if you could launch testing on the branch and it'd better, if you have time to change the test case time as 1k second as Hugh wanted. Many thanks! Thanks Alex