From patchwork Fri May 24 09:12:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 13672905 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 13548C25B74 for ; Fri, 24 May 2024 09:16:47 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0DCBE6B00A0; Fri, 24 May 2024 05:16:36 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 06A796B009F; Fri, 24 May 2024 05:16:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A99476B00A0; Fri, 24 May 2024 05:16:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 6EC746B00A1 for ; Fri, 24 May 2024 05:16:35 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 16240120280 for ; Fri, 24 May 2024 09:16:35 +0000 (UTC) X-FDA: 82152733950.11.71024EA Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf07.hostedemail.com (Postfix) with ESMTP id C703240010 for ; Fri, 24 May 2024 09:16:32 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf07.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.188 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=1716542193; 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=uO5du8JNulPhowiQ+ujPEZ3NXy18gcO1MCd5MkfyIIU=; b=W0jZ6Mi/aImSeL7F3vTjAUZlh8beSKNx0cmSfyXYn7tkVZGstqljcRUEolnUbcJQBzmIBI LywVeMF6O/LarbQgcQRobb5wZyonEHZRapl0QrMPO32WsDYRPatw7T9JlunQVOwPX+er3g 9kyTINxbdMq7q7oTG1Cs+RUfc+zj3HI= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf07.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1716542193; a=rsa-sha256; cv=none; b=B36KEzw6qys48t6tGqB1HW4JpzZv1vkb9H2jIRP1CG1FbK7UJUUT27wq6xDx13s71bx80+ t65hpmTLYOg55ZXX0xONBYy1mlC/rKiwLNtkkBUHHaecrOl8ZMsr16xNfWJ+fN0iWSv929 otuh9eFtjJdNCkkBJPt2UEwJSV8BgX4= Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Vlzs84TXDzcj6g; Fri, 24 May 2024 17:15:08 +0800 (CST) Received: from canpemm500002.china.huawei.com (unknown [7.192.104.244]) by mail.maildlp.com (Postfix) with ESMTPS id 2275F180A9C; Fri, 24 May 2024 17:16:27 +0800 (CST) Received: from huawei.com (10.173.135.154) 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; Fri, 24 May 2024 17:16:26 +0800 From: Miaohe Lin To: , , CC: , , , , Subject: [PATCH 02/13] mm/memory-failure: remove MF_MSG_SLAB Date: Fri, 24 May 2024 17:12:59 +0800 Message-ID: <20240524091310.1430048-3-linmiaohe@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20240524091310.1430048-1-linmiaohe@huawei.com> References: <20240524091310.1430048-1-linmiaohe@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.173.135.154] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500002.china.huawei.com (7.192.104.244) X-Stat-Signature: q3xfxehntxm31cn334z7qbqwqxs5hc3p X-Rspamd-Queue-Id: C703240010 X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1716542192-613327 X-HE-Meta: U2FsdGVkX1/4ZfMy1qW8daMX22iFh9l+s3/GQB0/iu+NmZgL6syjVGHJHV6bVURZJ2PvIh8+Qnxpd6Po+hzHYHYKd+gvMAQNJM/C7sO0JxMrcFwxlG/ZUrlXXVo/KRNs2xi7t3l2olyBHam5SekHjs/El2gbHwXhV8/3x8NCpsN6+7eW+cnVVdHYwV2Hlz0cXZ6F8lGki9XwLCwbOi8lwEQLVa/NxvtkF6nEReYrFP0KHnCi+k0Fw/OYKQ3ZgJbFYqepWXn2qJ3WSW/DLjDVeb2JRwUJ7D/C9mSC8EIS+1OIJECoPXsURRaJTUUZ+47E3tT8HXNOtk5Q59FrUzOvZZ52R7hAuq8dvaJEaBQ9XdacqyCC7SwwR8e74ygSpT2+jl/lRm8qKyNFYPcZI0z1XEuYWpUatPMUlQacibV6IKqOS464hDu3xPoiKYwp/juM4Y76sQPkyfa2ZzRFJx5hTakEWQwBeYlimGDd57gL2aovBTELMmrcVnjRUXDo8CZTbvLr7crI1mdUdRDdSS+VwD2gJ6AbtWJZS/fsuCRKhX2sfz0+VWQjWyl8AUIkh0QuVKHhzam+cPXPHUoBgoyWMf+1hC0grCpiuJa56FkRwUl2EIsGqpe8JAnAIV9W7iiQY+nuOfRtwXEtX4iXLCuUHg1JO4uFyP3M1SUkDC4HFBx2llTLpagXN6vq97stVt8JzaN9HrvnwGiB44HLHnjoMFX+X79/jefAWif1HrabxI7k0yD6rtIdd7j89u0UGyChn7wverWuX8q77i0j38tibixp+w1Z0/fJm3t1uqPl+H9ivhdmNzPO05Hs544itYIcHDJq6oX1jQMqAPCLBeoykLm9IbhhDZphuZX+vyDEaRNcjWpj86XuVLDeIWSkW0zYReOacWT9DFOIRR1Py3ZWnUiZfNdgAxZhmGFtiOtKFtraM9KCj0oUA9rnmMHcDZE5Jc42qakrm3kmkMmd14l SgeYPMp2 v4G/2yALHIACXwvtOBiCTAietE2+Fw6TcQkGCyFec2C00dsHo9OfxK81hSbWE5zFn/M4sNuy655CCcURSr+DZzqtKQQuudWstIGWWpx9nfm2EfhHfOIgcxjmx9a2o8BCJsR6jGaLJeeO+8Nn+wR72MxqL98U9a/TENSaAg3TbfzU3NTUD91U/W3DeUK2CYiSRTpOZHI5ZGBBDUwlcSf9RnQUKW20x5S5ZgD/isUmtVA+wrcoBkkSDn5XVyohZQXUxa5NPxdn2G1IExsQ= 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: 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 3aa1b6889bcc..4bc97ae25ade 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -4099,7 +4099,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 b3f6832a94fe..3fe77ba2cdd5 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 922c902a7229..9c23adceee75 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",