Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3378857rwe; Sun, 16 Apr 2023 18:52:49 -0700 (PDT) X-Google-Smtp-Source: AKy350bp3Dxka/ALgPYxwcRISYa7KLJLhuB37NKVNizRTpz624fjDMANSasQrrXQAJLtnTL0Dmab X-Received: by 2002:a17:902:d585:b0:1a5:22a6:4e6a with SMTP id k5-20020a170902d58500b001a522a64e6amr10408519plh.51.1681696369530; Sun, 16 Apr 2023 18:52:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681696369; cv=none; d=google.com; s=arc-20160816; b=xTyO0RZokiM/5yzo2mhqXzRf5jfNR0S/nV5cMQ0FLCKhe6ClSbKFxGUzhNTSTz/Rlm dcCrKUeQur7ku3PACtYZdDin+xz9+LQ+uanrbzMIgihYdlkkjY/0g3jvF1UP8hoCFT/X mQU9OcCcyJppwRzdIqVutvsHTvWihqKp+NWTKKICp48biOb4vmJqZjJ7XIIkuoNUGaQW W7wUIXe0HXBo8a5u1mcQKUAesF5vJf9vP/4yTnkDclIGDMaMAk2uNrCop/HK/WdkJPM4 nn8dWcogj7VC+8mwPqDv8d1QlQcj45TX71jpjCw7XxGjXA6PXQP/Z6Ug6UFMhrb/Z3jF WC7g== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=tMfhjbm0QSGvAoE8Kr1KSvVjipBipThCrsxCLjJomfo=; b=a6KNdMhjWyOmtGaJpq715UkjUhkHHOXNVlaNeGXxi6mYjfDZbJeNgd9V1olOOJC3WS MgWGOSWgb4SrIYMTtyJB0xN7NqjQAq4uj6ljE7O98BPW2mOCAokeGjwTWrFzdBVllxvp 2PbqXwECdnpwdAWf39y1GQTUYbFBf8u1qt41qWtvoruhfT6EomTphglw0VEn/T8kIsyW Eo/AFggB8TwSzo/YC1N4jUCrA3/Z1ZxjjsuFgNSboLjtbfTWV0aRylgw3IleQAjpGOZu ta1V5L/9sTKCSiS8FpptBQ3nuaw0KzOfj0jmruLaj7v8MD2aA4sEUC5Ye/Xja8lT2/xI AhsQ== ARC-Authentication-Results: i=1; mx.google.com; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e9-20020a170902b78900b0019937768786si8347788pls.290.2023.04.16.18.52.35; Sun, 16 Apr 2023 18:52:49 -0700 (PDT) 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; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229556AbjDQBvM (ORCPT + 99 others); Sun, 16 Apr 2023 21:51:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjDQBvM (ORCPT ); Sun, 16 Apr 2023 21:51:12 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 235B71995 for ; Sun, 16 Apr 2023 18:51:09 -0700 (PDT) Received: from dggpemm500001.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Q091m3GzbzL03l; Mon, 17 Apr 2023 09:48:28 +0800 (CST) Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 17 Apr 2023 09:51:01 +0800 Message-ID: <91eded3b-0ad8-b092-bf17-7b34fd4ece65@huawei.com> Date: Mon, 17 Apr 2023 09:51:01 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH] mm: rename reclaim_pages() to reclaim_folios() Content-Language: en-US To: Matthew Wilcox CC: Andrew Morton , , SeongJae Park , Hugh Dickins , References: <20230415092716.61970-1-wangkefeng.wang@huawei.com> From: Kefeng Wang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,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 2023/4/16 0:04, Matthew Wilcox wrote: > On Sat, Apr 15, 2023 at 05:27:16PM +0800, Kefeng Wang wrote: >> As commit a83f0551f496 ("mm/vmscan: convert reclaim_pages() to use >> a folio") changes the arg from page_list to folio_list, but not >> the defination, let's correct it and rename it to reclaim_folios too. > > I didn't bother. It's not inaccurate; we're reclaiming the pages > in the folios. OK, keep the name seems better, there is another similar issue in reclaim_clean_pages_from_list(), I will only unify the arg between definition and declaration.>