Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp919299pxu; Sun, 25 Oct 2020 22:09:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxgRViPVplyCP5gR2BtJY4TRafdWCaC9LgdeGBIuf92gYIwu8vtdF5WMDngE82edDYFjrP X-Received: by 2002:a17:907:429f:: with SMTP id ny23mr13478677ejb.150.1603688969184; Sun, 25 Oct 2020 22:09:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603688969; cv=none; d=google.com; s=arc-20160816; b=HuAlhJK+ZbqhR2uPHFXfSj6yP8wN7GjNkpL1Bz/AgmDdngF/DcVrdTdNoYzoPx2GXD Wvh0USNXVZbmrOVYyEXQ+oAOzCyHhhAZx2UjKTpYy1VRNgof5q/cQSbrYH2p4qEBpg6G nQyT0AlOWqP1GEJPO2BJzxavhcerzQ/UWcxqEjDf6Sm5385iEIH/+EGx7zDnxbxM0FuP dta6TdGXGnm34hhKhSnUNOdnj77YQeBS+E8Rf55RC8fOBa1uG3nBNQp8kc3tG4Bxb4H9 LWm/Rl4llTkPiUTpHyH6BTUwKhZa70AUC8RMbNgWx9LRcNg+ycD7qkMrD2TUyZOMnHcC 49fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=tn1La5Ge3XmDsG7HRkA0RmurwNBngTerijzqxvb4qMk=; b=QyXiQaP3chCoMnY0KvanRHuCJ3V4sCzGr++VmsDt7ablFHu9VB2hpxxx+uBW/fKU+Q xLNyH+x3yfFaR9YC3oTzIU/Y+I1iIEpYR6qj42WRbaOScRFY4TJx62ZK4NX68RdpiKqx 1HoPAeVjUO+EPgK2Q9R0nPYR2HiwjGJemfU4pH8ZftxG17oGu+9P+1YltKl4UbITO/RX N4prog++9QQZscN7gs1ZfpgrSXwn3BQDRRnqt23bW5HjiCQXjX9gNpOmSpkuOoX/ryNT hvUwWvCJVhj5vzTy9Py48U5R1gqOuZYU++t9aH4l/KOJvZW+wzAQ6rwgWCENYndz/UBT 0jDg== 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 k11si6437407edn.156.2020.10.25.22.09.07; Sun, 25 Oct 2020 22:09:29 -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 S1421209AbgJZBnU (ORCPT + 99 others); Sun, 25 Oct 2020 21:43:20 -0400 Received: from out30-56.freemail.mail.aliyun.com ([115.124.30.56]:54832 "EHLO out30-56.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1421204AbgJZBnT (ORCPT ); Sun, 25 Oct 2020 21:43:19 -0400 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: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2020/10/26 上午5:51, Hugh Dickins 写道: > [PATCH] mm/lru: minimize workingset_age_nonresident() interference > > 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() > > 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. > > 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