Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1183026ybg; Wed, 29 Jul 2020 07:52:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNEszg9ADZYrwJOsGe0BYY5XOKdRDQYY3S47xyYa1ML+wY0aIf/KYpHZbpKCV8XynuTHuJ X-Received: by 2002:a05:6402:1803:: with SMTP id g3mr30138119edy.377.1596034323592; Wed, 29 Jul 2020 07:52:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596034323; cv=none; d=google.com; s=arc-20160816; b=qAL0tfYO7kjh4Vh9MW/oifjLO7nbbwu0fTH5O8CSCAOBVCs7pl5fTr4s+1MwqdxtZF /G/s9jVFxagkxQ2FFSh5uZfdgUZQYbolNyitxp7EOF4ksGso8B+oXwK48LP9Z6mUdltx YPXuH6Wr7MHpJ0TVhcKA+eNQZAZmEvrqWUJJuDjR5Gz+c/HkD0RwQQ+78YgmNRC4dIf8 X18+8/4pWwhXMIqhGfaKSetfzBv5r31UCtoR4GwEGjYF/Q3utvNKrzrnJBUXPBTBRwD3 f533WconR+P1FM+Zv3JEXvtM/TtZTbpE0Vr2+Iy5iUaCzfVUsIIcBzf6ZOehoOKcje72 TiEQ== 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:references:to:from:subject; bh=6n178WDNwEOLLJSXMVQimTgVM9SOtVarYbz7HiWYBVA=; b=aPORwRHCvoAxsG5xGF444vGVXbi7GBCMd0Xjt7ZmT1vOk1JUoCCFyoDihND/AtS2bE JMkq1p7+4b2gg1PYHZDThH08FdwS7aCq+91hIWV4/OwnMneEQXJ3z7Tgu1dnGF7npIxw s/7ttaq9GHEjQM5swbYwZZOHU2EorkKMDuNhELFRRkNOImWNPMF4h1/EiqetTB4UeTAa pl8bhuf2L/4hAwmpa9iuatzLqs8nB1vLlynQTBq7XMwEq27ZKfPZuE4AJy75Ukm52zsC p5pXiE+m1/GaDtE3ql99NOctDUyCg1PgV+GiEiuDGZ1oUkWw13Bl4C0GqdnCCFPpq+Nq CnSA== 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 a8si1498236edn.422.2020.07.29.07.51.41; Wed, 29 Jul 2020 07:52:03 -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 S1726509AbgG2Ot2 (ORCPT + 99 others); Wed, 29 Jul 2020 10:49:28 -0400 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:49614 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726385AbgG2Ot1 (ORCPT ); Wed, 29 Jul 2020 10:49:27 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R831e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01419;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=19;SR=0;TI=SMTPD_---0U4A94nS_1596034160; Received: from IT-FVFX43SYHV2H.lan(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0U4A94nS_1596034160) by smtp.aliyun-inc.com(127.0.0.1); Wed, 29 Jul 2020 22:49:20 +0800 Subject: Re: [PATCH v17 00/21] per memcg lru lock From: Alex Shi To: 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, willy@infradead.org, hannes@cmpxchg.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, rong.a.chen@intel.com References: <1595681998-19193-1-git-send-email-alex.shi@linux.alibaba.com> <49d4f3bf-ccce-3c97-3a4c-f5cefe2d623a@linux.alibaba.com> Message-ID: Date: Wed, 29 Jul 2020 22:49:19 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <49d4f3bf-ccce-3c97-3a4c-f5cefe2d623a@linux.alibaba.com> 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 Is there any comments or suggestion for this patchset? Any hints will be very appreciated. Thanks Alex 在 2020/7/27 下午1:40, Alex Shi 写道: > A standard for new page isolation steps like the following: > 1, get_page(); #pin the page avoid be free > 2, TestClearPageLRU(); #serialize other isolation, also memcg change > 3, spin_lock on lru_lock; #serialize lru list access > The step 2 could be optimzed/replaced in scenarios which page is unlikely > be accessed by others. > > > > 在 2020/7/25 下午8:59, Alex Shi 写道: >> The new version which bases on v5.8-rc6. It includes Hugh Dickins fix in >> mm/swap.c and mm/mlock.c fix which Alexander Duyck pointed out, then >> removes 'mm/mlock: reorder isolation sequence during munlock' >> >> Hi Johanness & Hugh & Alexander & Willy, >> >> Could you like to give a reviewed by since you address much of issue and >> give lots of suggestions! Many thanks!