Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1702088rwn; Fri, 9 Sep 2022 02:43:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR7ZoUrRydYK2Fnh6/UaPisPFYlRtqfxPhShXENgpNz0As+ksAWSWrsofg/96lJ9AP90nEgD X-Received: by 2002:a05:6512:b0d:b0:492:d661:b368 with SMTP id w13-20020a0565120b0d00b00492d661b368mr3877560lfu.466.1662716614319; Fri, 09 Sep 2022 02:43:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662716614; cv=none; d=google.com; s=arc-20160816; b=uwKetfZynO2w4kdYT++m4cJXDFPzlbGE6F8wkEcNiJVhHns0ppc9RdcV78bmzlyKn4 qkHliLrqF3zKA7N2rpYe+bvuDNBi69zPvGBK7lUUgPtI2Ye8SahFye9YnRBkJm8rOovM INedKpB+EUyrOezzlSouovMVqcqid7zYIXtkcQU6owSuI1wsMOHQbA6VrWSGGy6Hqghy ruG00e5jFFcuXugyyUjVKjFnj9QsGjJJedsf2AdjureSn/OukZu6ao1M8VY1zunHoRbj xfd28FH79NuMHNr4wH/wlGI7MvVw477DylSJagzISbgLtnzUYPtfvIuU87vfcaQEpw8W NBqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=oshO+yMqt/g8R+2/jeWt+yl3o/JlZM80U1ZWIqtQFpE=; b=IpyKTGEqR7XlpTTEJBHOGvLpGXMUK8Lin7GSQ8p3nWy57OqTCyGEF0oJW+bafk2Pdr 1cpc0bcEnqskqgg8JVNyqQNArLEsStzNg9NtOuKTXg4FNwAzNnaJMh2SioxnDuSXgiK3 66kBrwpmh28aCPcUi8rstGtsrMpCbdKLzMiwev+ri1MgXq5lMnmipeIZagMZIGnP8e/+ w1oJY5YkTcXRZXE+9UAqx2Ioz4ZAEKhULeUsK0Gqe/UhP0iNzvJkad9CPBKLqsdfPZW4 xpksJ6oqXovlktOKcDSdC3bzkXPwurUNzNoApfLLxZZ/DjZMqMals+kClVL+KDSLHtcb a2Kg== 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 c7-20020a056512104700b00492d09844eesi10852lfb.588.2022.09.09.02.43.05; Fri, 09 Sep 2022 02:43:34 -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 S231470AbiIIJ13 (ORCPT + 99 others); Fri, 9 Sep 2022 05:27:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231180AbiIIJ0z (ORCPT ); Fri, 9 Sep 2022 05:26:55 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3358EB6D77 for ; Fri, 9 Sep 2022 02:25:29 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MP9V846HWz14QQr; Fri, 9 Sep 2022 17:21:36 +0800 (CST) Received: from huawei.com (10.175.124.27) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 9 Sep 2022 17:25:27 +0800 From: Miaohe Lin To: CC: , , , , Subject: [PATCH 04/16] mm/page_alloc: remove obsolete comment in zone_statistics() Date: Fri, 9 Sep 2022 17:24:39 +0800 Message-ID: <20220909092451.24883-5-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20220909092451.24883-1-linmiaohe@huawei.com> References: <20220909092451.24883-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,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 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 --- 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) -- 2.23.0