Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp144351pxa; Tue, 4 Aug 2020 01:41:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6ldBSovKIAOPWFfoGtaYRQonk4GIdp/kPqacipl7ekGBm7vpZk6EObIam0oYCu5VzQ8BF X-Received: by 2002:a17:906:2e51:: with SMTP id r17mr20037565eji.308.1596530487113; Tue, 04 Aug 2020 01:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596530487; cv=none; d=google.com; s=arc-20160816; b=W12h7IlvZy3Ni8Zo1fQ1wodq9/6cwsJcwzwA+hhN1v04qyf5WIidJTlnk8hLIXroqY Iyw8uN7FB0iZIizNpWk9hScCqAxuzkr5OrBGnAnuYY5kJLF7EAmnMSYsBctN2Vk92nBl xxGHnwnIaFcUPlqJr0IM+AF1n9T2JywBeeni2Ljgt0oCXjepevbXqlxsbRUzlUWHihgj 8r0ZULxIhdqdG+kBSr9fHNK5lU5Y7oPaG4gmR6xHaRaMI/SVaZQ0gc6nproVAhWG6Pq+ qSZ55LC3tyhM/T/x9ybqj+9e7bABoG5RXW1vd/FdXPwhx57fDv87Smivl4OJdzSAoHgv unDA== 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=lEEQT0fhHB1JKDlxGyMOcB/wfigLkjqQXm5sT0fUIY4=; b=dFeQkTrypqUWHdlEqfMyuMWeSacFqDaF+4r/ETUaiOYDceKtmd2fipnXD0QyGiV56C H3G1ueiGPZ0D6Rl2mbCdS4Q7Nl9tIuEMSZreNzI8WYXhj2CEwRp1dcMXUGZp7GyAL1Cg bfpk+DjmpvinRCvUdbAz/GWcESU9RLsc9b34TGQgBCPauagF+WDrn+5H6EP4lcuJJCjo YXW9+3lEsI/oen71FY+JiJC1s5CnwcsYbNN37lBK0ivs6Y2hrHwJ4tydwSCwiwQH1kPq L1cAu1ArhP8x90+lZg65zBxiZAOuv2wYzZZnG1eG96EurBijrJVF/hj6Pbr6TgPns0kn RqxQ== 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 j14si12156204ejd.406.2020.08.04.01.41.04; Tue, 04 Aug 2020 01:41:27 -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 S1729979AbgHDIh5 (ORCPT + 99 others); Tue, 4 Aug 2020 04:37:57 -0400 Received: from out30-131.freemail.mail.aliyun.com ([115.124.30.131]:46676 "EHLO out30-131.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726058AbgHDIh5 (ORCPT ); Tue, 4 Aug 2020 04:37:57 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R601e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=21;SR=0;TI=SMTPD_---0U4jk5H4_1596530273; Received: from IT-FVFX43SYHV2H.local(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0U4jk5H4_1596530273) by smtp.aliyun-inc.com(127.0.0.1); Tue, 04 Aug 2020 16:37:54 +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, Vladimir Davydov , Michal Hocko References: <1595681998-19193-1-git-send-email-alex.shi@linux.alibaba.com> Message-ID: <7c4395f3-56c0-c2ed-67fc-43e1f5f0c3eb@linux.alibaba.com> Date: Tue, 4 Aug 2020 16:37:37 +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: <1595681998-19193-1-git-send-email-alex.shi@linux.alibaba.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From e2918c8fa741442255a2f12659f95dae94fdfe5d Mon Sep 17 00:00:00 2001 From: Alex Shi Date: Tue, 4 Aug 2020 16:20:02 +0800 Subject: [PATCH 0/3] optimzing following per memcg lru_lock The first 2 patches are code clean up. And the 3rd one is a lru_add optimize. Alex Shi (3): mm/mlock: remove lru_lock on TestClearPageMlocked in munlock_vma_page mm/mlock: remove __munlock_isolate_lru_page mm/swap.c: optimizing __pagevec_lru_add lru_lock mm/mlock.c | 63 +++++++++++++++++++------------------------------------------- mm/swap.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 70 insertions(+), 50 deletions(-) -- 1.8.3.1