Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp389991pxb; Wed, 1 Sep 2021 00:55:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxi297aZKBUSJXFRW0o8iajGyLBNTsWUqGlzV4FM52gMWzkDC6YDJC2V4QdKbTt/L7od5sz X-Received: by 2002:a17:906:144b:: with SMTP id q11mr14360979ejc.78.1630482939702; Wed, 01 Sep 2021 00:55:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630482939; cv=none; d=google.com; s=arc-20160816; b=ZQy/G22cNyWBV6qXeHfPrcHEJf/xhuQbwAEkbb12QEATvQ/da874O6XtS+XhGmT3Ju GwYgeMssgZGZUQwOTlWiUEJCBeiOf95pEB/oFDS++npxbZn3FglAyYvALEO/UNAdQaMl nPSQQ8Hy7dZGlZag2wQ/KJgWpAyYwDRhKwgICJeGVrTRuQ5SZJ55dK3fXtvgZ84HEM8R bAhNWfyLZiOHu+S5xt6slNZmJWWdzFYcz129PgjbULUl2IVQxzG7TnIIS8MJL1bP3TOi lJnKITAJPGmU3Ujkop96jJvqjevXu4hXRioHkX6+dhMO2rviEfrF4ESmxT229dShPxar 3KrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=u8qckVgQsTe3nUApTjds01h4ZddbTXbCRbTSal+frO4=; b=FgWC6A7wn437VxgFqBDGRrxJxB9SA0cNxpqn6P/Jdh2pmmc1as5PSvIMiufXvGSgcj ckR/D40uDAt7x7WESIvWxe1M7Qyv0X2/WNPsyXI6gBLGf7cRIiBLAxRneMvwuI4UYnpi kykGDX+nHACqdijzv8oo4guSySaDOq/EnOolSJLTVfo47w29aT/adULFMkHfC4mYcSRB cmnevGnxSic4vcaZBmYYgoP2K3gkMnaLb1s8pSMYZbXNe9dSMq872aRZPA7SUfLwojO/ UvjBglMJiNvIlgasS+YpuzmbbGFwlL1jqP+0kuebgM9cCoGIUrueFTBgxMDszXtmqg4I 96vA== 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=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si17453256edw.108.2021.09.01.00.55.00; Wed, 01 Sep 2021 00:55:39 -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=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242729AbhIAHuF (ORCPT + 99 others); Wed, 1 Sep 2021 03:50:05 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:14444 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242622AbhIAHuD (ORCPT ); Wed, 1 Sep 2021 03:50:03 -0400 Received: from dggeme703-chm.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Gzx102PsRzbfHC; Wed, 1 Sep 2021 15:45:08 +0800 (CST) Received: from [10.174.178.75] (10.174.178.75) by dggeme703-chm.china.huawei.com (10.1.199.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Wed, 1 Sep 2021 15:49:03 +0800 Subject: Re: [PATCH 3/6] mm/page_alloc.c: remove obsolete comment in free_pcppages_bulk() To: Mel Gorman CC: , , , , , References: <20210830141051.64090-1-linmiaohe@huawei.com> <20210830141051.64090-4-linmiaohe@huawei.com> <20210831133830.GE4128@techsingularity.net> From: Miaohe Lin Message-ID: <884a4b72-95ab-0fca-6c74-d67535048736@huawei.com> Date: Wed, 1 Sep 2021 15:49:03 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210831133830.GE4128@techsingularity.net> Content-Type: text/plain; charset="iso-8859-15" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.75] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggeme703-chm.china.huawei.com (10.1.199.99) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/8/31 21:38, Mel Gorman wrote: > On Mon, Aug 30, 2021 at 10:10:48PM +0800, Miaohe Lin wrote: >> It's also confusing now. Remove it. >> > > Why is the whole comment obsolete? > > The second two paragraphs about "all pages pinned" and pages_scanned is > obsolete and can go but the first paragraph is valid. > I think the first paragraph is invalid due to the below statement: "Assumes all pages on list are in same zone, and of same order." There are NR_PCP_LISTS lists and PAGE_ALLOC_COSTLY_ORDER + 1 + NR_PCP_THP orders in pcp. So I think it's obsolete. Should I delete this statement in the first paragraph only? Many Thanks.