Skip to contentSkip to conversation

mm-memory_failure-move-memory_failure_attr_group-under-memory_failure.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jun 9, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: memory_failure: move memory_failure_attr_group under MEMORY_FAILURE
has been removed from the -mm tree. Its filename was
mm-memory_failure-move-memory_failure_attr_group-under-memory_failure.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Kefeng Wang <[email protected]>
Subject: mm: memory_failure: move memory_failure_attr_group under MEMORY_FAILURE
Date: Mon, 8 May 2023 19:41:27 +0800

The memory_failure_attr_group is only called if MEMORY_FAILURE enabled, move it under this configuration.

---

 include/linux/mm.h |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-memory_failure-move-memory_failure_attr_group-under-memory_failure +4 -5
@@ -3586,6 +3586,10 @@ extern void shake_page(struct page *p);
 extern atomic_long_t num_poisoned_pages __read_mostly;
 extern int soft_offline_page(unsigned long pfn, int flags);
 #ifdef CONFIG_MEMORY_FAILURE
+/*
+ * Sysfs entries for memory failure handling statistics.
+ */
+extern const struct attribute_group memory_failure_attr_group;
 extern void memory_failure_queue(unsigned long pfn, int flags);
 extern int __get_huge_page_for_hwpoison(unsigned long pfn, int flags,
 					bool *migratable_cleared);
@@ -3678,11 +3682,6 @@ enum mf_action_page_type {
 	MF_MSG_UNKNOWN,
 };
 
-/*
- * Sysfs entries for memory failure handling statistics.
- */
-extern const struct attribute_group memory_failure_attr_group;
-
 #if defined(CONFIG_TRANSPARENT_HUGEPAGE) || defined(CONFIG_HUGETLBFS)
 extern void clear_huge_page(struct page *page,
 			    unsigned long addr_hint,

_

Patches currently in -mm which might be from [email protected] are