mm-memory_hotplug-drop-config_have_arch_pfn_valid-handling-from-pfn_to_online_page.patch removed from -mm tree
The quilt patch titled
Subject: mm/memory_hotplug: drop CONFIG_HAVE_ARCH_PFN_VALID handling from pfn_to_online_page()
has been removed from the -mm tree. Its filename was
mm-memory_hotplug-drop-config_have_arch_pfn_valid-handling-from-pfn_to_online_page.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: "David Hildenbrand (Arm)" <[email protected]>
Subject: mm/memory_hotplug: drop CONFIG_HAVE_ARCH_PFN_VALID handling from pfn_to_online_page()
Date: Mon, 21 Sep 2026 21:59:05 +0200
Drop CONFIG_HAVE_ARCH_PFN_VALID handling, as CONFIG_HAVE_ARCH_PFN_VALID is never used with CONFIG_MEMORY_HOTPLUG, as the latter depends on CONFIG_SPARSEMEM_VMEMMAP. Make sure it stays that way.
---
mm/memory_hotplug.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
mm/memory_hotplug.c renamed from mm/memory_hotplug.c~mm-memory_hotplug-drop-config_have_arch_pfn_valid-handling-from-pfn_to_online_page +2 -7
@@ -345,6 +345,8 @@ struct page *pfn_to_online_page(unsignedstruct dev_pagemap *pgmap;struct mem_section *ms; +BUILD_BUG_ON (IS_ENABLED (CONFIG_HAVE_ARCH_PFN_VALID )); +if (nr >=NR_MEM_SECTIONS )return NULL ;
@@ -352,13 +354,6 @@ struct page *pfn_to_online_page(unsignedif (!online_section (ms))return NULL ; -/* -* Save some code text when online_section() + -* pfn_section_valid() are sufficient. -*/ -if (IS_ENABLED (CONFIG_HAVE_ARCH_PFN_VALID ) && !pfn_valid (pfn)) -return NULL ; -if (!pfn_section_valid (ms, pfn))return NULL ;
_
Patches currently in -mm which might be from [email protected] are
mm-fix-address-wraparound-when-scanning-large-folio-ptes.patch mm-hugetlb-disable-pmd-sharing-for-uffd-missing-mode.patch mm-vma-write-lock-source-vma-before-duplicating-it-in-__split_vma.patch mm-madvise-preserve-vma_softdirty_bit-when-changing-anonymous-names.patch