Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6283558rwn; Tue, 13 Sep 2022 01:39:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR6vcrsVV8p5UvP6GNOjV0XAQCpyS7aY0Pr19H+2MfzWWIFrpSj2qig44fg0ybuG8pDam9Mm X-Received: by 2002:a05:6402:1910:b0:450:fb10:fddf with SMTP id e16-20020a056402191000b00450fb10fddfmr17261161edz.321.1663058341283; Tue, 13 Sep 2022 01:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663058341; cv=none; d=google.com; s=arc-20160816; b=TtOkC1mYyOsOSFODom5LOHDiBO9hIsaVt570Um/kRfV10n2iEV/Tc+ckaIVyTqLu6y aHPbR+J5w4I+mmM2TzP5wLFvbNnoLorCoDsWFPIaIowR26zPYrgVspiGOjThxdPxUitw 3NZNL3S+CHA9dB+TWBNHQFcIIStnOK3MEORbRJ473D/aVNQ3cYdCFsoLm2nBl+Kxu9aC MwoUJc+wR8cJhU6dUsDyNsf6ysCYA0C9sAXKfKVjQBCZpmvK3nvCeKS2+ZdKF03eviYR iBJfhB1Jnrl+0iX00yrPN59lcrcT0mOS8ga3uu8lF507qScK9N6h+LJDTcDhT0GBLFwH j+TQ== 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=ZG+bldc+oZxynJZKcsZ3y3jjNw7Od3klwKFu+PXCVLo=; b=WRTxjGkCR2LAs2WIeG5i6Fg5x3FBJVP7gNktSblV5Fx4dj4AbStBf67i6KLZ0ofnJ9 BROKmPusFoyP1wuaqQI6Mh2mD2iFC3//sfg/G8txPb5Rnv9vg/VW4/zPXNOPCV8xIuTm LNVlwWQUfnqaTKMJmZKbwOYlf6Z2aSAj+GCE+t2KCkiKfFRkkVAz/sq5b3QnxH5ndTDe 6ySc7cOGYa1EwX3ZsQkC0uBv3cywNzQpx8FMDaLQQtcEi8EhrA5x0seHK+4MOim4bIEk ubt2XGYd2vQmCksdDA+YevUzncpxeecRyvGH/AeAWvZXCSMupztAKYmu1EpwjimnEHak g/RQ== 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=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a18-20020a17090682d200b007386f4ab2a2si7685010ejy.638.2022.09.13.01.38.35; Tue, 13 Sep 2022 01:39:01 -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=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231372AbiIMIQG (ORCPT + 99 others); Tue, 13 Sep 2022 04:16:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231364AbiIMIQB (ORCPT ); Tue, 13 Sep 2022 04:16:01 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1408559277 for ; Tue, 13 Sep 2022 01:16:01 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3EEB7D6E; Tue, 13 Sep 2022 01:16:07 -0700 (PDT) Received: from [10.162.42.9] (unknown [10.162.42.9]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7830A3F73B; Tue, 13 Sep 2022 01:15:58 -0700 (PDT) Message-ID: <99e8bc0c-0e17-c808-34d9-5ad6015a35ff@arm.com> Date: Tue, 13 Sep 2022 13:45:56 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 04/16] mm/page_alloc: remove obsolete comment in zone_statistics() Content-Language: en-US To: Miaohe Lin , akpm@linux-foundation.org Cc: david@redhat.com, osalvador@suse.de, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20220909092451.24883-1-linmiaohe@huawei.com> <20220909092451.24883-5-linmiaohe@huawei.com> From: Anshuman Khandual In-Reply-To: <20220909092451.24883-5-linmiaohe@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,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 9/9/22 14:54, Miaohe Lin wrote: > Since commit 43c95bcc51e4 ("mm/page_alloc: reduce duration that IRQs > are disabled for VM counters"), zone_statistics() is not called with > interrupts disabled. Update the corresponding comment. > > Signed-off-by: Miaohe Lin Reviewed-by: Anshuman Khandual > --- > mm/page_alloc.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 2deac2fe3372..c81f06d8a4f5 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -3671,8 +3671,6 @@ void __putback_isolated_page(struct page *page, unsigned int order, int mt) > > /* > * Update NUMA hit/miss statistics > - * > - * Must be called with interrupts disabled. > */ > static inline void zone_statistics(struct zone *preferred_zone, struct zone *z, > long nr_account)