Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1014869pxb; Wed, 1 Sep 2021 15:19:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl+XWJs5EzFM887DAvH8/HRmKBKRG7NHXOdjn2W9SzGKJsIEBsJnDO5CWlwzTi75MncXDZ X-Received: by 2002:a05:6402:3584:: with SMTP id y4mr143250edc.183.1630534789884; Wed, 01 Sep 2021 15:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630534789; cv=none; d=google.com; s=arc-20160816; b=MJtiBxgZFzB/4U7IS2Pu3clthCFQGm7O8HoX5bFrkqXmKKB2DyyoQxsLqKZ1UYpklj R0CbjLvr7b1lmCfwAvRaKE0nWwsu1orIgP8nGzkHRbQRZIZ8iqRj37pq8WuaPPa24tte YIFeIIEQsXG8q6RMtc0yo4m5OiUXJmHbvIIWPavr8H3XhF1nuzqJEM9jeUGw2LYcg9yc 9jY6tH5aCifT7D1oCg+0Rb8z5atDAOI8Li0bIzWDLroR8pQ11ClhQv8bbRWvi6QDq53M THuT2+h6qlfUtPaH5ITmQDkftNXRizgzPKR7Hkd0nJEtWhcmTS4ZDVXxqcQ/4ONxhYBP Zp0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=aMd57kYqfsta7tCxNNBLH0zMIe8HcQd7x3UzRRga0Wc=; b=IGxoYDR4ufPcvfCzaa3xCxY3A9oo1xNCoVQizwOERaoxe10Pb+u7dSRPhzNdyi80DY OOTQP1lmae8jRmz3S8vM+MY/jhq1JxlYN2yLFTiO0KZOrtha0gD5GtROyvrhvYv7VHAt eb8rWIVW1BRarM5/9ajeIbcGyaUyi+H7wJrbFUizS/4sWHcz1Ew0L9CH35yQuLiFl85j KNkwIEz+etqWh3+vUdzby0CuE9bgiLEDYjTcINISlkRIb+fGu9iILdcy6teCq+4equ6e 6Yczo5PaYPm07CQTP+4YOs5fGJzSxkPwLZ2UyWABXeJK1vkNik/lncWtqDMO9c4313lH KEuw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w11si79739ede.300.2021.09.01.15.19.21; Wed, 01 Sep 2021 15:19:49 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245755AbhIAPPM (ORCPT + 99 others); Wed, 1 Sep 2021 11:15:12 -0400 Received: from outbound-smtp30.blacknight.com ([81.17.249.61]:60877 "EHLO outbound-smtp30.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245569AbhIAPPL (ORCPT ); Wed, 1 Sep 2021 11:15:11 -0400 Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp30.blacknight.com (Postfix) with ESMTPS id BEDA7BAF3F for ; Wed, 1 Sep 2021 16:14:13 +0100 (IST) Received: (qmail 19088 invoked from network); 1 Sep 2021 15:14:13 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.17.29]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 1 Sep 2021 15:14:13 -0000 Date: Wed, 1 Sep 2021 16:14:11 +0100 From: Mel Gorman To: Miaohe Lin Cc: akpm@linux-foundation.org, vbabka@suse.cz, sfr@canb.auug.org.au, peterz@infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/6] mm/page_alloc.c: remove obsolete comment in free_pcppages_bulk() Message-ID: <20210901151411.GH4128@techsingularity.net> References: <20210830141051.64090-1-linmiaohe@huawei.com> <20210830141051.64090-4-linmiaohe@huawei.com> <20210831133830.GE4128@techsingularity.net> <884a4b72-95ab-0fca-6c74-d67535048736@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <884a4b72-95ab-0fca-6c74-d67535048736@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" -- Mel Gorman SUSE Labs