Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9464812rwp; Thu, 20 Jul 2023 05:30:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlGFV7J/ctUf3aroAPvWgrjTmOmM7WK9p3WEdlUcrO7/3r/85/E0SvuBge2gfjPLRUbyen5U X-Received: by 2002:a17:902:ecd1:b0:1b8:6cae:4400 with SMTP id a17-20020a170902ecd100b001b86cae4400mr5223893plh.37.1689856249438; Thu, 20 Jul 2023 05:30:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689856249; cv=none; d=google.com; s=arc-20160816; b=IPWiJDPqdD+SKkMK1BtCWOxHAnuFLDjIM4Cxuf17vkA8FjaoW27TuPTv50DnwicpEg gNWHzjw0WUBHwaz+wiLBbVQSOXdgRhIm1LbpTy367JOfJyaWaDMzCOdh8fU+R4IyOuO2 TMr3MdnsZw1FDCcQBL9mVB88ZyWuHQCr6aL1l8+gvAxsquMJZeI0j4jlSUU+4YbPDLnV TvbhDjk1gH3RewzM51YMONmwZv5DVgjwRoSTHWnbojaqvN9qtwoA53ub6FtEda+mkXiT B6VbUDISE1/UGlzrCwK031buoxOvzHrwaqEfGs7Ny8225JRoEI6P30je019leF7mPndU /gTw== 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 :message-id:date:subject:cc:to:from; bh=Cy40RJxgw/K+xJLpo2ZlKhbFj3NJT6ko8baaLVklHg8=; fh=Mo/Lcs6WtjcRq1QaiJBjtYwS/87p5PpqCapK5ULE+Ko=; b=gO+IU+NTlIfZHg5BF2pOpei+hPPU83rLDWxcDqzBS1WFYtTFZ8lrplA1NOJR0dIZxM 2egJwFQTuJuzTtqeCW3cqFDnfAje7GKEk/3xKuMbbtnLw/1+UR8JZvoTIjKW+A53SqUS LLUfZ6WIaEDtpaclv4lV7KG5tUuzmBgG1/rWiRlJ+Qm7XIEpcECVJR+ZP5wqW/e3xG8n Wu7c8NyX+94++KrwJqZfAs2vQ5xjtZwxE/xXFe/ZoeLB+p62a7Yz8HMeJlN4aScRCeEC Uky+qhaveIakIDyFqBcuWmdGb7h5XO7hm6kIbMua7E1h6LM+FQIe3aPASMMqJJid3THn sezA== 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 f8-20020a170902ce8800b001b39e50bfdasi802587plg.638.2023.07.20.05.30.36; Thu, 20 Jul 2023 05:30:49 -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 S231292AbjGTL2K (ORCPT + 99 others); Thu, 20 Jul 2023 07:28:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbjGTL2J (ORCPT ); Thu, 20 Jul 2023 07:28:09 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDC441B6 for ; Thu, 20 Jul 2023 04:28:06 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4R69QD5CKpzrRmX; Thu, 20 Jul 2023 19:27:16 +0800 (CST) Received: from huawei.com (10.174.151.185) 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.2507.27; Thu, 20 Jul 2023 19:28:02 +0800 From: Miaohe Lin To: CC: , , Subject: [PATCH] mm: fix obsolete function name above debug_pagealloc_enabled_static() Date: Thu, 20 Jul 2023 19:28:06 +0800 Message-ID: <20230720112806.3851893-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.174.151.185] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 04013513cc84 ("mm, page_alloc: do not rely on the order of page_poison and init_on_alloc/free parameters"), init_debug_pagealloc() is converted to init_mem_debugging_and_hardening(). Later it's renamed to mem_debugging_and_hardening_init() via commit f2fc4b44ec2b ("mm: move init_mem_debugging_and_hardening() to mm/mm_init.c"). Signed-off-by: Miaohe Lin --- include/linux/mm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 5b866c07be42..a5d68baea231 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -3493,8 +3493,8 @@ static inline bool debug_pagealloc_enabled(void) } /* - * For use in fast paths after init_debug_pagealloc() has run, or when a - * false negative result is not harmful when called too early. + * For use in fast paths after mem_debugging_and_hardening_init() has run, + * or when a false negative result is not harmful when called too early. */ static inline bool debug_pagealloc_enabled_static(void) { -- 2.33.0