mm-sparse-vmemmap-drop-device-dax-specific-population-path.patch removed from -mm tree
The quilt patch titled
Subject: mm/sparse-vmemmap: drop Device DAX-specific population path
has been removed from the -mm tree. Its filename was
mm-sparse-vmemmap-drop-device-dax-specific-population-path.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: Muchun Song <[email protected]>
Subject: mm/sparse-vmemmap: drop Device DAX-specific population path
Date: Sat, 10 Oct 2026 15:57:52 +0800
The common vmemmap path selects the shared page for optimized mappings itself, so Device DAX no longer needs vmemmap_populate_compound_pages() to find a shared tail page and pass its backing PFN through the generic population helpers.
Remove the Device DAX-specific population path and let section memmap population always use vmemmap_populate(). The powerpc retains an architecture-specific compound-page implementation, so select it directly from radix__vmemmap_populate() for optimizable sections.
---
arch/powerpc/mm/book3s64/radix_pgtable.c | 3 mm/mm_init.c | 2 mm/sparse-vmemmap.c | 71 --------------------- 3 files changed, 5 insertions(+), 71 deletions(-)
arch/powerpc/mm/book3s64/radix_pgtable.c renamed from arch/powerpc/mm/book3s64/radix_pgtable.c~mm-sparse-vmemmap-drop-device-dax-specific-population-path +3 -0
@@ -1126,7 +1126,10 @@ int __meminit radix__vmemmap_populate(unpud_t *pud;pmd_t *pmd;pte_t *pte; +unsigned long pfn =page_to_pfn ((struct page *)start); +if (vmemmap_optimizable_order (pfn_to_section_compound_order (pfn))) +return vmemmap_populate_compound_pages (pfn, start, end, node,NULL );/* * If altmap is present, Make sure we align the start vmemmap addr * to PAGE_SIZE so that we calculate the correct start_pfn in
mm/mm_init.c renamed from mm/mm_init.c~mm-sparse-vmemmap-drop-device-dax-specific-population-path +1 -1
@@ -1046,7 +1046,7 @@ static void zone_device_page_init_from_t* initialize is a lot smaller that the total amount of struct pages being * mapped. This is a paired / mild layering violation with explicit knowledge * of how the sparse_vmemmap internals handle compound pages in the lack -* of an altmap. See vmemmap_populate_compound_pages(). +* of an altmap. */ static inline unsigned long compound_nr_pages (unsigned long pfn,struct dev_pagemap *pgmap)
mm/sparse-vmemmap.c renamed from mm/sparse-vmemmap.c~mm-sparse-vmemmap-drop-device-dax-specific-population-path +1 -70
83 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are
mm-fix-missing-page-table-destructor-in-pagetable_free.patch arm64-mm-fix-destructor-for-unconstructed-hotplug-page-tables.patch