Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp819779pxb; Mon, 25 Oct 2021 19:47:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBkVxg5cGhm3EzHAt3rMpW7mGgSBcXKc70QlwPXtoB4sh4XYA1ci8biVfpfGgB/ec/XKqM X-Received: by 2002:a17:902:ecca:b0:141:569b:6fda with SMTP id a10-20020a170902ecca00b00141569b6fdamr353162plh.48.1635216458669; Mon, 25 Oct 2021 19:47:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635216458; cv=none; d=google.com; s=arc-20160816; b=ds3CP4f88jZcC2jlo/t5uDyqFxbxt+FY6XO/AFDugnyfgHniOVGK15ygNLncFTAbHG 6hT6wOMpWEhAwZuj5DSRgaDIumTsbJbcizivfxXl3IofYrrZHEKof2ZxScM3xUm9R4Kd pQDZBaTQYjcGV8gpDwsjRnunvqp5ElHfBnFTMTmE2Fkn/a148QDAzGp9JcPKND/sEAQd MwNidFV7z3lJbeEsgm3vKx9+nLICm7j3BrRCqZpR54/Da+IG0yVG1YyrV3IoFJFOiBzk 4mCAq2pI4NVllIrhu/6n56lzUd5e7PNl4gEE9fCGztcUhwDZFfxVIEoJv74/rpMjYBzG e8/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:date:from:dkim-signature; bh=Lh3py47gA8jg6Gb0rOjwQD82lb53Sm8VrPET+7wqweU=; b=LoxoPQlGbg1dl2tnoXGe20/ePtbhFn/YqH+pr5b3hguzvCEGrPaJo9SDOu2YrmI60e s9aVLQePtKYzi6HezijtGQn5lBRFB7ulI5QG2qWDEDVw/vHgTjQvIovU3skWaJnzibr3 OZVpXOutbMcMnD9Oynz8jzD34FPNO5OQ6p6Nhp2c1tQxEg63fuL8MHIYyG+2YxvIDI+9 0cQi6pvCz6oeHBP9PyIlBxI74sjih0I7IsyP7cVRR1O9a5Y/enzDw9ucU5Bkc2VBwqyv kWp6WnoBg0ZtpGoMr+v3R3/ihRQA8CQ/4pATWEdCPaI3KdA3JXZc5yhv19NY2Y9fCLSh wlKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=oC7s9lfc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si4622172plh.291.2021.10.25.19.47.26; Mon, 25 Oct 2021 19:47:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=oC7s9lfc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233664AbhJYXQl (ORCPT + 99 others); Mon, 25 Oct 2021 19:16:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232664AbhJYXQl (ORCPT ); Mon, 25 Oct 2021 19:16:41 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B14CC061745 for ; Mon, 25 Oct 2021 16:14:18 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id nn3-20020a17090b38c300b001a03bb6c4ebso159745pjb.1 for ; Mon, 25 Oct 2021 16:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:to:cc:subject:message-id:mime-version:content-disposition :in-reply-to; bh=Lh3py47gA8jg6Gb0rOjwQD82lb53Sm8VrPET+7wqweU=; b=oC7s9lfcXvHb8GRvOWEgcGhIyRfEicCKCTCuu+2KC7c3BABC0NHhIBow7E6xLZIUyC 0xsSBuSoyShsveED9PlDgizbLrEAyiULB3490fdPvkS3iDgv1aEHxsl25nxTCwvBbpPA jMjqJo93kja70FwMf6zXL663O2Lh3CdcM70xFd4xNpBxDLVt41lVBxdRU0BEB6LkwD6/ Ll5Bjm1ZtwoD3lpGAcur5UaX9jaAKjAwuJgrE3rcEBd8dAIlY6q28kBLFagPNN6UTO5w w4ruzR2/Afvvyva2nkbLvm3B6gTOojkma9/APlNGsmvOlgZa86E6fzq6Uyg/Ipb9kXx5 i7tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:to:cc:subject:message-id:mime-version :content-disposition:in-reply-to; bh=Lh3py47gA8jg6Gb0rOjwQD82lb53Sm8VrPET+7wqweU=; b=3G+hgn4wL3jLcQgGDQ4vWQHVQcyfFNs7hlwyw1jpcdyPk4gmewXYC6Uh45A/Wat7bx 9FG6yUiva2OUsCoVk0+56KsJ23cUeEwn8otwZmxvW4PHv+itBfDu2kURu04pI1ovcwjw uQS4u4aLqwkbOxdW8Jju9c0hMAOQnxvyIr+K15O1UrCYYdAzY6EZbllUW0vdipXNJEKV hJgsAydnD05ilQby5WfMppXLjLENg1NPabGIARm++EK1hgHWNSg53ij2A8xz5E/lrdhE QeQIKALI5kaIBNKP1NCA5//8Uz8pL5+kMUqQdYHWhikjXwUKBV3UX11EXwK7S+qXeIEr /WhQ== X-Gm-Message-State: AOAM5318hEfZyst/9690qotlFunHtq0CoT4vbue0HnjTVZiJWmb/VCKa tQoSRGJyY2SMFrpbqpMi7A== X-Received: by 2002:a17:90b:4a07:: with SMTP id kk7mr24128073pjb.37.1635203657849; Mon, 25 Oct 2021 16:14:17 -0700 (PDT) Received: from u2004 ([2407:c800:3f11:740:8ea1:3c5:6c2d:e5c9]) by smtp.gmail.com with ESMTPSA id g5sm12041028pfc.65.2021.10.25.16.14.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 16:14:17 -0700 (PDT) From: Naoya Horiguchi X-Google-Original-From: Naoya Horiguchi Date: Tue, 26 Oct 2021 08:14:13 +0900 To: linux-mm@kvack.org Cc: Andrew Morton , David Hildenbrand , Oscar Salvador , Michal Hocko , Ding Hui , Tony Luck , "Aneesh Kumar K.V" , Miaohe Lin , Yang Shi , Peter Xu , Naoya Horiguchi , linux-kernel@vger.kernel.org Subject: [PATCH 3/4] mm/hwpoison: remove MF_MSG_BUDDY_2ND and MF_MSG_POISONED_HUGE Message-ID: <20211025231120.GA2651146@u2004> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211025230503.2650970-1-naoya.horiguchi@linux.dev> X-Mutt-References: <20211025230503.2650970-1-naoya.horiguchi@linux.dev> X-Mutt-Fcc: =Sent Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (I failed to send patch 3/4 and 4/4 due to the ratelimit of linux.dev, so I switched mail server...) From: Naoya Horiguchi These action_page_types are no longer used, so remove them. Signed-off-by: Naoya Horiguchi --- include/linux/mm.h | 2 -- include/ras/ras_event.h | 2 -- mm/memory-failure.c | 2 -- 3 files changed, 6 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index a3229f609856..71d886470d71 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -3246,7 +3246,6 @@ enum mf_action_page_type { MF_MSG_KERNEL_HIGH_ORDER, MF_MSG_SLAB, MF_MSG_DIFFERENT_COMPOUND, - MF_MSG_POISONED_HUGE, MF_MSG_HUGE, MF_MSG_FREE_HUGE, MF_MSG_NON_PMD_HUGE, @@ -3261,7 +3260,6 @@ enum mf_action_page_type { MF_MSG_CLEAN_LRU, MF_MSG_TRUNCATED_LRU, MF_MSG_BUDDY, - MF_MSG_BUDDY_2ND, MF_MSG_DAX, MF_MSG_UNSPLIT_THP, MF_MSG_UNKNOWN, diff --git a/include/ras/ras_event.h b/include/ras/ras_event.h index 0bdbc0d17d2f..d0337a41141c 100644 --- a/include/ras/ras_event.h +++ b/include/ras/ras_event.h @@ -358,7 +358,6 @@ TRACE_EVENT(aer_event, 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_POISONED_HUGE, "huge page already hardware poisoned" ) \ EM ( MF_MSG_HUGE, "huge page" ) \ EM ( MF_MSG_FREE_HUGE, "free huge page" ) \ EM ( MF_MSG_NON_PMD_HUGE, "non-pmd-sized huge page" ) \ @@ -373,7 +372,6 @@ TRACE_EVENT(aer_event, EM ( MF_MSG_CLEAN_LRU, "clean LRU page" ) \ EM ( MF_MSG_TRUNCATED_LRU, "already truncated LRU page" ) \ EM ( MF_MSG_BUDDY, "free buddy page" ) \ - EM ( MF_MSG_BUDDY_2ND, "free buddy page (2nd try)" ) \ EM ( MF_MSG_DAX, "dax page" ) \ EM ( MF_MSG_UNSPLIT_THP, "unsplit thp" ) \ EMe ( MF_MSG_UNKNOWN, "unknown page" ) diff --git a/mm/memory-failure.c b/mm/memory-failure.c index a47b741ca04b..09f079987928 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -723,7 +723,6 @@ static const char * const action_page_types[] = { [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_POISONED_HUGE] = "huge page already hardware poisoned", [MF_MSG_HUGE] = "huge page", [MF_MSG_FREE_HUGE] = "free huge page", [MF_MSG_NON_PMD_HUGE] = "non-pmd-sized huge page", @@ -738,7 +737,6 @@ static const char * const action_page_types[] = { [MF_MSG_CLEAN_LRU] = "clean LRU page", [MF_MSG_TRUNCATED_LRU] = "already truncated LRU page", [MF_MSG_BUDDY] = "free buddy page", - [MF_MSG_BUDDY_2ND] = "free buddy page (2nd try)", [MF_MSG_DAX] = "dax page", [MF_MSG_UNSPLIT_THP] = "unsplit thp", [MF_MSG_UNKNOWN] = "unknown page", -- 2.25.1 From: Naoya Horiguchi To: Cc: Bcc: nao.horiguchi@gmail.com Subject: Reply-To: