From patchwork Wed Jun 12 07:18:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 13694531 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 ADF8EC27C53 for ; Wed, 12 Jun 2024 07:22:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 01FAF6B0165; Wed, 12 Jun 2024 03:22:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EEAA86B0167; Wed, 12 Jun 2024 03:22:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D8B236B0168; Wed, 12 Jun 2024 03:22:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id BA0516B0165 for ; Wed, 12 Jun 2024 03:22:26 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 6D319A2EFD for ; Wed, 12 Jun 2024 07:22:26 +0000 (UTC) X-FDA: 82221393492.05.CB57E8E Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) by imf10.hostedemail.com (Postfix) with ESMTP id 3EDDCC0002 for ; Wed, 12 Jun 2024 07:22:23 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=none; spf=pass (imf10.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.191 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1718176944; 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:in-reply-to:references:references; bh=BSewUx7ahD4U7wfKNpBewFAAciTcYdRKdsjjFiMtqFw=; b=eIYa/hOtecnRKWhPuxtwC1+M5mcXbItC5E1FrrTAUsGMxe7CLfU4i+gVFBib31OrVvx/i/ TWyyBGbr5uUPBMDgKIWx4gEHdT1wSGgdgDCYSvFW3wKOqrAQAILlTEQo/F8PYtlovzm02b tqdEHTs3o3JuVpNZysTuZkX8tlYSdCk= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=none; spf=pass (imf10.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.191 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718176944; a=rsa-sha256; cv=none; b=gQeW60dr6GKHApDfBB6fT8ClLw/FSNP6QisfnvMy4qOuLXVE2VhKmgCy7mhKXJjKT+l33E DQ135oRDDkGyb3emiJtv+2fFEZLMAGHP1cnJQVr0TDz6gNKmwA7XDw5dzyNlTLBZdTCmh7 oDpxWB46wt/ayVrlNPBMtgt7Mt65CHQ= Received: from mail.maildlp.com (unknown [172.19.88.163]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4VzcQ1401Fz1HDJm; Wed, 12 Jun 2024 15:20:25 +0800 (CST) Received: from canpemm500002.china.huawei.com (unknown [7.192.104.244]) by mail.maildlp.com (Postfix) with ESMTPS id 6F53C180065; Wed, 12 Jun 2024 15:22:20 +0800 (CST) Received: from huawei.com (10.173.127.72) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 12 Jun 2024 15:22:19 +0800 From: Miaohe Lin To: , , CC: , , , , Subject: [PATCH v3 02/13] mm/memory-failure: remove MF_MSG_SLAB Date: Wed, 12 Jun 2024 15:18:24 +0800 Message-ID: <20240612071835.157004-3-linmiaohe@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20240612071835.157004-1-linmiaohe@huawei.com> References: <20240612071835.157004-1-linmiaohe@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.173.127.72] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500002.china.huawei.com (7.192.104.244) X-Rspam-User: X-Rspamd-Queue-Id: 3EDDCC0002 X-Rspamd-Server: rspam01 X-Stat-Signature: i9heme6pu5ygkd7c5f58ozgr3kir6csx X-HE-Tag: 1718176943-39253 X-HE-Meta: U2FsdGVkX1+0kWnsOs+r06YBBLWiQKOIlYW2Q7qICVFoi3MOVS0RF2sZAV/NdEn1F4XqQfbC8ieyAkl3QHDahWS42VqYhsRbHUrf2vcxRrHUXLmQhS7hdXttLGaSXrar2MPj2Pl2Jv33nhawYa1o6R0Vno4fI3WaEBNapJxHHZwNlIJcrG4ZnSodFWP1mpjVHMrOurHCzkUpU66bHohyFwGuJwPyZCAozZPcHTg/6YdHZa+ZNsW0HJKGS+6UNnGguT0rx3gMpn3v7nV4r2sQRvXbUqjValQs7/DBPEf44gSSq+Oqkk92V+Sj6eB8UTuxZpGzmrBp8kX8/YjH+NGEZ0/uE8M0UsZ85/wYC+BycpBHNwjHB5L9Ys9rAs3IDRupEOumJajrO6GPpTTHrRoPtMpEUm6Zqz8j7xRvKpcmZX/X7XniqQUQoZh9lOG3c80AqahhiwqaUJZ1Kv6YkKC4+lIQoE0gpa9lX/I8FgzICCDtNDZGFo73LDA6DD6Tf/0kANZglZs15NYVOu2GbBy0A+qAjuwt15oA3aXAIbFFwVGudDxbXwZGvOPGTh2pn1XKRVa43Derok/jfoT7ovTiVLgwDWyVuMxXUULeCA7FXaWfYNM4hZ/MgoGTA2nWCJOLmKWmrygYKFjmhiZjrGSBA8wmuG7K4M+/ajyigfhKns3lcdDidPWN4STuuqMX9TAmgPZrtYue7v/kIY/U0/9eGWIdsBQsGv3Oio1e/k8AeEXwnmAxVfLldWp8COevAcXcVWW1//koSUyVwA4m4s+TfPXU3i91g/TO5LIiT104w50Tun6z4WatSfkf3kXjPCJZAIrTS+ok1sw0XVYipFn6bBz6L3Nz5eNv/IXXzYo8hXxuvPLfXk779fhQeaYZ79rtltdD5Fu1EBNDOG0cpPcE978NTKj2IgLyarIVbCjVzXhx4ocQ0HpRX+XZ+PF522I7Fv1hXEVdtYNIy0Lymp7 y8AgTE72 3/6nsUZaGsUChembR5Ty8pYbJECY1hGfud2gs/AbIvKH6WrNh8Ur7jkyHxcEXDqJpNP7xzUUb1Lm3ZjeGVyCYXodmPdPxbYKdHtFndFDPzExfOwRKkMqNx0rYbQJiHGE568OWIkFPDKZnm0rPWRRSZXfnKGtYMHwFX+sWlJt+x9aSA0CwY2vjyY9HmHmI+3BF4M85YS8uv2Tp3Ptvy/49dC8/0vRB43b5A12VHvTccMWQ/cMOT98AvR56DyiYrxgbecEg X-Bogosity: Ham, tests=bogofilter, spamicity=0.000005, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Since commit 46df8e73a4a3 ("mm: free up PG_slab"), MF_MSG_SLAB becomes unused. Remove it. No functional change intended. Signed-off-by: Miaohe Lin --- include/linux/mm.h | 1 - include/ras/ras_event.h | 1 - mm/memory-failure.c | 1 - 3 files changed, 3 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 25b541974134..0bf0f22b32c8 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -4048,7 +4048,6 @@ enum mf_result { enum mf_action_page_type { MF_MSG_KERNEL, MF_MSG_KERNEL_HIGH_ORDER, - MF_MSG_SLAB, MF_MSG_DIFFERENT_COMPOUND, MF_MSG_HUGE, MF_MSG_FREE_HUGE, diff --git a/include/ras/ras_event.h b/include/ras/ras_event.h index cf7f19b7ce64..9bc707fe8819 100644 --- a/include/ras/ras_event.h +++ b/include/ras/ras_event.h @@ -356,7 +356,6 @@ TRACE_EVENT(aer_event, #define MF_PAGE_TYPE \ EM ( MF_MSG_KERNEL, "reserved kernel page" ) \ EM ( MF_MSG_KERNEL_HIGH_ORDER, "high-order kernel page" ) \ - EM ( MF_MSG_SLAB, "kernel slab page" ) \ EM ( MF_MSG_DIFFERENT_COMPOUND, "different compound page after locking" ) \ EM ( MF_MSG_HUGE, "huge page" ) \ EM ( MF_MSG_FREE_HUGE, "free huge page" ) \ diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 2e6038c73119..4b9a9298d478 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -911,7 +911,6 @@ static const char *action_name[] = { static const char * const action_page_types[] = { [MF_MSG_KERNEL] = "reserved kernel page", [MF_MSG_KERNEL_HIGH_ORDER] = "high-order kernel page", - [MF_MSG_SLAB] = "kernel slab page", [MF_MSG_DIFFERENT_COMPOUND] = "different compound page after locking", [MF_MSG_HUGE] = "huge page", [MF_MSG_FREE_HUGE] = "free huge page",