From patchwork Thu Jul 20 11:28:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 123221 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp3062064vqt; Thu, 20 Jul 2023 04:58:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlE1TvJNFdAonGi5IRP3Av7rRwZ6KGgS0qvMWW0jyX+QZV6oP9Wvo4Tb7agv1Hb3cqiSuRLR X-Received: by 2002:a05:6358:93a7:b0:134:d691:8b21 with SMTP id h39-20020a05635893a700b00134d6918b21mr6975366rwb.23.1689854312438; Thu, 20 Jul 2023 04:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689854312; cv=none; d=google.com; s=arc-20160816; b=fUkW6qm4v4a8edrkciLATyfW+bBn1ymJM68Gl46iCjSNSMLfbMG7/NYDSZHxlEy+ib dhUoFYVysRBqucR+bU53LzDD/V2+Kp425HUuNjoDG/NT1/4ACvr/DcIRwCB2THwbp8lV gLQVhB4Ku49QKr6U60D/b+UV8HxB1No3xALQb+7bv7IYz/ZNyp0cSJw1Lc9STEoz0Pqy B/v0CM9GrvKmYDRMWUi5loz1pP14EiU4W9GoQh/0KuiQ8kzFkD19foJdpQOrzQC/kVRV Rr3IWE/9GjmgJjy/O7jC95lT2TA4wBIQZCv/mqCjW73heddb+OLT16ldzBKr/8KIzxUz U+Uw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y6-20020a655a06000000b005533e84b286si654061pgs.328.2023.07.20.04.58.19; Thu, 20 Jul 2023 04:58:32 -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 S231271AbjGTL2K (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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771940675525044409 X-GMAIL-MSGID: 1771940675525044409 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) {