Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2414131pxa; Mon, 3 Aug 2020 15:53:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyx3MV2Rccx6oU4UqcXdA+f6BAgoC0mzD0psdxLtgsKEaXKNOF9DRaufbWgysL2LiQah7eh X-Received: by 2002:a05:6402:297:: with SMTP id l23mr1013493edv.145.1596495192776; Mon, 03 Aug 2020 15:53:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596495192; cv=none; d=google.com; s=arc-20160816; b=cSW99ordpgllQQ5tFgzzer0+xngp8EZu54+gpT/KN+331vvP6AiguUTQ0ociBOnyQF aFriNpyTHIZZC3T0oV/PRfeo8xLdyyJXl7aHbtctzmXFIDVF68njWLzXpHn6zEoSEHZ1 dG4bHOKOBVndMLTKyof99/psDEePH9WQmIylyQJbPItIBzWyBMXcrEzmRPL4oYMWCa8I GFkKwW8p1pe7N5NDiNVA3fKaa4fnMQ9sD0HwdH5GXE3RTzHZbOxbQpqQYdw2qGOpMtAT NXcKJ73F/8ArSypZk43rVEsyJalv5kmgvX27McLK4Pw1rYgS5KVN7hGi59tHQBR8xDjD bUGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=MAO+PpuYLBX0uefa2B1NpsdRhW1fJ0Gox2/GooMZOIM=; b=phEKg32erDa1INEAPOI5nVd7ntsA+XKaGzRWF/1D/DIkrwDss5XDRiuoMnamEJGEP9 hdP5pLNNHGveeahuLOFEatSMfbyfEdrHtm98kb7r+1mgFWfJxQCaRRPCVfHVXIsHDCQM ZG6LumRiseZOzAdi8/LnYiYnI1w+Kguln5mHXsH0AChDTkR0D09ZHIwskgCiBofj/HZL +Z8V46EhXuvkURhtyEDzGi3YScBiTdVQ/80Q9F48y3GYd0vJmEXUvYVN12WaEYYrrrP+ 2HiYM5BCWuKRfqTAHvoevaJONfUsTovENCPkpkP/oD9rgesrG7mVhPCqWG3X8csdb9HT QuaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KoPTr2no; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si4311689edf.19.2020.08.03.15.52.48; Mon, 03 Aug 2020 15:53:12 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KoPTr2no; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728921AbgHCWuN (ORCPT + 99 others); Mon, 3 Aug 2020 18:50:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726770AbgHCWuK (ORCPT ); Mon, 3 Aug 2020 18:50:10 -0400 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96D1FC06174A; Mon, 3 Aug 2020 15:50:10 -0700 (PDT) Received: by mail-il1-x141.google.com with SMTP id t18so32588511ilh.2; Mon, 03 Aug 2020 15:50:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MAO+PpuYLBX0uefa2B1NpsdRhW1fJ0Gox2/GooMZOIM=; b=KoPTr2noAD6XVqblQ0ZDm8p+m1GxTbJgLxmKlP6peN1JC+e0602LcrNh6gu9ebaXQ2 JeatTeBzUATzp79AE5HlxpKkODqdTWABRJnBgKaTw1JEK6M35cNoSvDmynZZU17JNPCd qDj173WmJzHySDfVECR+KGtPR7MNNMY4YEGUCLvWzdtUO4Di7z/F4K+gMHaacHSdb/7i 6fRIEyaptXGL9Dai6I1u/EbsyMk/NV+sQpP6f8ifB7QfaCeZDWs8z9Ki0VaWK9WOv0l9 Y7hn756uAd0RcZkpy+MFgf71qbBeZGVeI33T25YFXcnpiZe9iwydIXXFJ/R7aDm0wOdh XohA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MAO+PpuYLBX0uefa2B1NpsdRhW1fJ0Gox2/GooMZOIM=; b=SILPbqstLXR8k1UwIRlGEwJk5p8JGMr08EFVcwo/87tl8PtokQZKXxYyFWx6UTsGOx lvvqM0t4UOu4DlWkduQW2FeMnQNvXh8zJrngriVjUlVDGN8TdWVmD30tD3or0q+ZLnWn axRY7OwFMsdk88eb1Vm8bwm5O+Vs6eON7S4AbyUOIW+sdBXjWbtD6dd0KOJZmKt5w1IJ 95p2t8nVN0a98cwTq8ysIojYzeUZAJsBoQ0wgiafUAKIZjl8wjYhH+NsmHVyZcEy7XO/ mqiIdVIS356g2GwWdZYAVOcYVSBY8kKX4syDweXtc+BBCMAphh17om7i5N54zfsd7LrL Psig== X-Gm-Message-State: AOAM531xfgaKlxxjdIgAevoc1tp9P8NkDslj7c4zr1ohTxJ3+m9EXHdf B59tM6xqe8gpKO0mxxuSFoHG8VkOPkBC2LiCTSA= X-Received: by 2002:a92:bd0f:: with SMTP id c15mr1705273ile.95.1596495009904; Mon, 03 Aug 2020 15:50:09 -0700 (PDT) MIME-Version: 1.0 References: <1595681998-19193-1-git-send-email-alex.shi@linux.alibaba.com> <1595681998-19193-20-git-send-email-alex.shi@linux.alibaba.com> In-Reply-To: <1595681998-19193-20-git-send-email-alex.shi@linux.alibaba.com> From: Alexander Duyck Date: Mon, 3 Aug 2020 15:49:59 -0700 Message-ID: Subject: Re: [PATCH v17 19/21] mm/vmscan: use relock for move_pages_to_lru To: Alex Shi Cc: Andrew Morton , Mel Gorman , Tejun Heo , Hugh Dickins , Konstantin Khlebnikov , Daniel Jordan , Yang Shi , Matthew Wilcox , Johannes Weiner , kbuild test robot , linux-mm , LKML , cgroups@vger.kernel.org, Shakeel Butt , Joonsoo Kim , Wei Yang , "Kirill A. Shutemov" , Rong Chen , Andrey Ryabinin , Jann Horn Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 25, 2020 at 6:00 AM Alex Shi wrote: > > From: Hugh Dickins > > Use the relock function to replace relocking action. And try to save few > lock times. > > Signed-off-by: Hugh Dickins > Signed-off-by: Alex Shi > Cc: Andrew Morton > Cc: Tejun Heo > Cc: Andrey Ryabinin > Cc: Jann Horn > Cc: Mel Gorman > Cc: Johannes Weiner > Cc: Matthew Wilcox > Cc: Hugh Dickins > Cc: cgroups@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-mm@kvack.org I am assuming this is only separate from patch 18 because of the fact that it is from Hugh and not yourself. Otherwise I would recommend folding this into patch 18. Reviewed-by: Alexander Duyck