diff mbox series

[1/2] rasdaemon: ras-memory-failure-handler: update memory failure action page types

Message ID 20240215113235.1498-3-shiju.jose@huawei.com
State New, archived
Headers show
Series rasdaemon: ras-mc-ctl: Add support for CXL error events | expand

Commit Message

Shiju Jose Feb. 15, 2024, 11:32 a.m. UTC
From: Shiju Jose <shiju.jose@huawei.com>

Update memory failure action page types corresponding to the same in
mm/memory-failure.c in the kernel.

Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
---
 ras-memory-failure-handler.c | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/ras-memory-failure-handler.c b/ras-memory-failure-handler.c
index 97e8840..a5acc08 100644
--- a/ras-memory-failure-handler.c
+++ b/ras-memory-failure-handler.c
@@ -26,10 +26,8 @@  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,
 	MF_MSG_UNMAP_FAILED,
 	MF_MSG_DIRTY_SWAPCACHE,
 	MF_MSG_CLEAN_SWAPCACHE,
@@ -41,7 +39,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,
@@ -64,10 +61,8 @@  static const struct {
 	{ 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"},
 	{ MF_MSG_UNMAP_FAILED, "unmapping failed page"},
 	{ MF_MSG_DIRTY_SWAPCACHE, "dirty swapcache page"},
 	{ MF_MSG_CLEAN_SWAPCACHE, "clean swapcache page"},
@@ -79,7 +74,6 @@  static const struct {
 	{ 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"},