Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1026652pxp; Wed, 9 Mar 2022 19:03:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWrKRLrBKIe3fwlZb8hTII1X/so37u5MUinLs0qGHbdGWf3gzoJg1vnfTivQFjUHODD7iT X-Received: by 2002:a17:907:c1d:b0:6db:67b:a3cc with SMTP id ga29-20020a1709070c1d00b006db067ba3ccmr2345548ejc.356.1646881381325; Wed, 09 Mar 2022 19:03:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646881381; cv=none; d=google.com; s=arc-20160816; b=dZyg8x1Sz6C7EBG0C0rBDNdpXDPtzJIW2SeccTY36KI/2b9K1XRNxbQ9lyDXyvFiOv MFFFGd2P9NZIeG37mPCZL4cg57n/WDPCIAgnZ+0hp1I7C/GFxB81Mzkl98qgrG2yfWLg 7craRodwa2aTIla/HULjhm26+oVKMyzWFsBtbT+4VpM7YnUr3eY60geXgzTQE/7HQ/xl SkwMzD+ubBwYaMw6ziSYTBLxrsch01DGp3VA5hI+CxG278I1s0+jIvZnMyA3tn9LpnrV blP0L3GNw4S7a8CagLNMgdqbcNYJzZUpaVxEW4vxno0HbkY0+hDiavQZocDsDrIdG235 VmQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IhfcqA5j4A8+cMHFR/NtiJjgNVB+qOjhOgFLJgToPWQ=; b=J08CMnU2Ndr8HCCzLL5d3wYaATgW2vKm6Vis1GxnQYgDzWyG8kBnOHhuNXY2tXTpNa NCdO7grti1Y3YAw3UXHyA4ccXCT/SvFMwMml9tin2WXDUY3gsfVekdt0F8gG5c9k1Y0v cBITmOpinPxv+RWniAPDXMTZTS+I05SPedHYV3fWU7NMVzPN5JXN1theMl//jVYoxEuy XX87+XGhlTLV5ZueGGACKZ+NUWrxu3yGe2e6uitLJXuYs7Tcey8QaZ+5YtZnnbNuZgFW /QPKgMUC3loEasC/lc3ScHncFwKLTYu+P4MbZxwyCf6EqNZ2g4A3aQl1DOMwO3dUs/GK zh/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20210112.gappssmtp.com header.s=20210112 header.b=NdlCgpyR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q8-20020a17090676c800b006d6dc18c2fdsi2385731ejn.643.2022.03.09.19.02.38; Wed, 09 Mar 2022 19:03:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20210112.gappssmtp.com header.s=20210112 header.b=NdlCgpyR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235724AbiCJBDS (ORCPT + 99 others); Wed, 9 Mar 2022 20:03:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbiCJBDQ (ORCPT ); Wed, 9 Mar 2022 20:03:16 -0500 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1654F11B5F6 for ; Wed, 9 Mar 2022 17:02:17 -0800 (PST) Received: by mail-pl1-x62f.google.com with SMTP id n18so788028plg.5 for ; Wed, 09 Mar 2022 17:02:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IhfcqA5j4A8+cMHFR/NtiJjgNVB+qOjhOgFLJgToPWQ=; b=NdlCgpyR4b6VJWwPwqOC1MX6c6jvcptN0j9px6P5gSJixNo6VOfOmyZRxxRxE+VcE+ 3nEGij+QWTIieZfJjhT4HEQ3r8HlS19ooIBYayhvUymBhIQ9hyFgxtJgI8pCRkAg+1pQ wZsyJA2tqg/k12oz9Zx1hzeXs53PX/Kj85fAbo2oA10eW2hvyuDPgEUBhgXI6pkk7Y4r 4/vjzDmA4LTjsDjSdL3djqJkFB/CcFZI7eYmB7zcVbZW/JYEKjHk2esCGc2dbDEPdE6T FFVi6RCbUv4X+dMgyidWvaHx1H1e/ThhA9xh9EmPmn8MxL3p8c6rsvYdZ7ZqiLAGwoMG 82mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IhfcqA5j4A8+cMHFR/NtiJjgNVB+qOjhOgFLJgToPWQ=; b=nb/9nXz9fHxEWZhAC5dmvXKpS6013QhvKbVStEnndsbyoUkKXpDJjMIUpBf2pU8cZL b4wu65q55300wKKpCTYcofpJDlKFrEoBDk0DreiUDzkZdth30NT9KwvMWWPDSK+gaWuX DQvyaeXeQ8lMxHUlGW2lrcuuJqV8xc0IaItrl4Ofmkr1G85VZCWbartNZf21r1HSAKPO G3DN7DtyHmMXsIMVa8kLAXksfcmIO4UNxzET4M0DNeBrQlN+gsd9TVV9QbpQrrn+J3sd 1GsGtvROJsE8GtzHb2YFowpyHzohM/JNf9bg2joTyGTwe9kvXjUmyEaYMyekjUC4+e90 x4CQ== X-Gm-Message-State: AOAM531LsfKyvEgVHDz3+nQVaVRmkCbmsPSnRsy/8GEZCOMQ1GWcTHNw hIruix+8LpJHBWSrYcE0su1RnJAJmvsi5JLbIf15fQ== X-Received: by 2002:a17:902:d506:b0:151:ced2:3cf with SMTP id b6-20020a170902d50600b00151ced203cfmr2284734plg.147.1646874136625; Wed, 09 Mar 2022 17:02:16 -0800 (PST) MIME-Version: 1.0 References: <20220302082718.32268-1-songmuchun@bytedance.com> <20220302082718.32268-7-songmuchun@bytedance.com> In-Reply-To: <20220302082718.32268-7-songmuchun@bytedance.com> From: Dan Williams Date: Wed, 9 Mar 2022 17:02:05 -0800 Message-ID: Subject: Re: [PATCH v4 6/6] mm: remove range parameter from follow_invalidate_pte() To: Muchun Song Cc: Matthew Wilcox , Jan Kara , Al Viro , Andrew Morton , Alistair Popple , Yang Shi , Ralph Campbell , Hugh Dickins , xiyuyang19@fudan.edu.cn, "Kirill A. Shutemov" , Ross Zwisler , Christoph Hellwig , linux-fsdevel , Linux NVDIMM , Linux Kernel Mailing List , Linux MM , duanxiongchun@bytedance.com, Muchun Song Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 2, 2022 at 12:30 AM Muchun Song wrote: > > The only user (DAX) of range parameter of follow_invalidate_pte() > is gone, it safe to remove the range paramter and make it static > to simlify the code. > Looks good, I suspect this savings is still valid if the "just use page_mkclean_one" directly feedback is workable. Otherwise you can add: Reviewed-by: Dan Williams