Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp110779pxb; Wed, 1 Sep 2021 23:30:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmY/9WFg9v6OLPhrGi883Dg/RDRFdvArLUL7gCjJo6kCuq5m7s+HgN7yNhUTYD8o7wRNCv X-Received: by 2002:a17:906:5384:: with SMTP id g4mr2039924ejo.27.1630564223922; Wed, 01 Sep 2021 23:30:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630564223; cv=none; d=google.com; s=arc-20160816; b=KhwnljrqLyVgg/UZa7YucF0VkO0jxT/i5TT9LBEt3gcQo4Oz8ttgvmB0uB4vNrLi1V spUYADtC35Gh/06xiHUM4WMvGHprdxGPx/T+GGGRGNpjEbS5dUSPJCxyNekqZ/zMJOju QTgh84jDjiIKYpE3g3uNUuDl9ATj+m3iijs/0QrZh+F0UokbrjJ7mYcjyTGk+mFmR8Vi mLnke1l2lu8eYUwyWxYJGZKxMRMiMYD/A67F46EdRa2ulGbtNevJJOmRRWCkDaCBVf73 no0a9VD9dY2S+xvBPuAqea13HWZf91o7xoSNF2hiTkZQUg96dOLrZoVGf7etTnWY1uCi mbsQ== 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=VavGXV1G1D0fXgRDvt0TAh3QV1GWIj0Y7lJxg0sl64k=; b=0IcM5o6GMt4dhh4vJGzfL4VVv6sr6s3aQkgQKNtKHd8fvObxneeBh2xuWXjrM87x4j XgAK3+pBKwt7OMvPuOAO4FeqOFFgQtnJQxrlw/f50mV9nhsNyquEnoz6BlNBw7ntj6Wz oiU4VLOroj3fiWYbrA2mZr+pENNpW4apU0DOCZsjzgYmPZZ+nBkeHnjXhKhvOAuEZZ9Z Mh7HKZwEk2jLvMK3EVcUX6gfiAlM+Oo87cBo3AO+qyiMhYa77RqYZkwGwBounsMYHLSm a5IJCQljHvqwOL4VRKJia7ZzuRSOWSMw2jtQOXrgK1hIE7Pu9RSsGZkZFifCufy+yyBP MLnA== 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 s28si1228016eds.380.2021.09.01.23.29.24; Wed, 01 Sep 2021 23:30:23 -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 S238658AbhIBG0f (ORCPT + 99 others); Thu, 2 Sep 2021 02:26:35 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:9393 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237121AbhIBG0e (ORCPT ); Thu, 2 Sep 2021 02:26:34 -0400 Received: from dggeme703-chm.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4H0W5q39J2z8xdS; Thu, 2 Sep 2021 14:21:19 +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; Thu, 2 Sep 2021 14:25:34 +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> <884a4b72-95ab-0fca-6c74-d67535048736@huawei.com> <20210901151411.GH4128@techsingularity.net> From: Miaohe Lin Message-ID: <3cff22e0-760b-1a11-6f28-f257317eba7e@huawei.com> Date: Thu, 2 Sep 2021 14:25:34 +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: <20210901151411.GH4128@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: dggems701-chm.china.huawei.com (10.3.19.178) 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/9/1 23:14, Mel Gorman wrote: > On Wed, Sep 01, 2021 at 03:49:03PM +0800, Miaohe Lin wrote: >> 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. >> > > Ah. > >> Should I delete this statement in the first paragraph only? >> > > Remove ", and of same order" Will do this in v2. Thanks. >