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: 13320348 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7856EEB64DC for ; Thu, 20 Jul 2023 11:28:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C14B82800ED; Thu, 20 Jul 2023 07:28:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BC4BF28004C; Thu, 20 Jul 2023 07:28:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A8D162800ED; Thu, 20 Jul 2023 07:28:14 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 9628928004C for ; Thu, 20 Jul 2023 07:28:14 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 5D0D9C0310 for ; Thu, 20 Jul 2023 11:28:14 +0000 (UTC) X-FDA: 81031766508.01.6A71757 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf01.hostedemail.com (Postfix) with ESMTP id E8B004000F for ; Thu, 20 Jul 2023 11:28:10 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf01.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1689852492; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=Cy40RJxgw/K+xJLpo2ZlKhbFj3NJT6ko8baaLVklHg8=; b=JLXc7ypD1eWVD3o/i9w9pXW1x7MXfbCkhfnrqs/8VvS5eq1ZjIrcnEZH/A9dleI8gUdfjG Wtgsa7nNLvr1BLiBoeGpbRV5mkkFGIkPD9dQvJu7wt7pU3DZuMk3Fva7gb2m7mQv8gvK34 KfO7J5oXXAOWvnFzZwHW2xwrYLenACw= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf01.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1689852492; a=rsa-sha256; cv=none; b=tH1GoXc06jFkuZHX6JpHt0E6pap3tpkPFk/fMWoUMVovfLnazCBwJsqpH9CIiydXC/ghuh YrvRCaFLgXIL2rpa46iPHtI9AQfjHj1AwKfwX/5ZRnFO1IHNkpAMTxnsGQWZnrhkePTM/0 qiWpJ58o1uJVc+ghNy3OX5RIPTgOlp4= 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-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: E8B004000F X-Stat-Signature: gu5se5wm13oehigdnff9rx6x1hc483zj X-Rspam-User: X-HE-Tag: 1689852490-816989 X-HE-Meta: U2FsdGVkX19TRq76Dh+SyTgyMhfSA2K26Tm4F9QLwKjs2SBoUiybGnqxmlYPRJus3TG+HEi1yEeEwBOp8IoEkhi/Xic01sZDSEOa/o3yGSfQw8NTo/aKTs7HUQ5Hr5hj4gOVjtHv/XuutE7cShZnushzl/Zu1fRxj8ajAlaxHbL/GYcGjRL4wNpVCzOMHsz8H8wlZNA2cyvsMpIYOAMoHZuyiQzC1nm+sROmfjVGj4qNgqhkbgU12SogDNDoJsTNXT5J9GxDivywGvpzjFlj2iDuLinVsE4syTODvOwO4baRsHkyH4qcilVY32TgwUeMP98rviFpEUGF45wHGOXRHXJdRIvVYE5z206dRoJPpubXIp49TiAGkqBkf2qpp8voUJREfNGsSdiRTW6gj/LZXKWAy9fHDnm79twZybWO6sqCa+higtD8w4cPjWcSbuGmgbss3lzVmkb8e837O4K3kroxj26DhOphoUXQNz6oL5nb5AKHZCSMPHe2eINp/lZEuV3Zm9wPiJ2SrNZv7CXp7EaCOIt2AYINAUAjYJ26wVOZaeS1eBRrLy7U9eZmT2dbjHvy3HIpV303EoWMetdW+yRYzZnFW0+YueGFh7k1x2/+sYZ7/CWN4jd3zaalKeKnKUkpMkRW6HCNJfOOwVjI8r5zZI3ZeBmloqBuyx6M8xlgmtmZ60bj7R+B0BSoHiQaQ3ODjO6HwOgj+rCbrAbUr0MjF8D165AjNRCAe4mhoxpEAY+zIF90hlEL/aEy2AGuAwnxeHwgi3G07vBJo2jf2/AoVVNKGWn49IGOJmxceDFECcatSyDTAYfbm3uv++5JsDxL2AAa17HmAkWy25dV/QTh/EmGTdSICBLdy6+KrrN5zaM22E4jreUa1H01CBNULhfEeAiWkRhyOAkSWWZ17CdOF3SXnQHEiSzBAti0ch+ie5UCq+ZlNDoLXaZsmx45tTiqq22yoyIQ52nGaJX wd8DXmYB H7pCrPKdzV4A00BVpoUeVyWfNH0znJqwSrYAcJQDSvcMSvWQDjQAx4lFfOkXyAmBRPJJZgCOTY1ajzQdGHzirlC68IJauci6Nj9ep1hB8xZI57sDKnjv21/20vnH1OVQxSaIwFX69D7A3QmsGQ05Y1vHZNKtEemm0hmNMgNkDtNpY1GyRyYyaGw2VjN/cFl//ZAgr X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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) {