Skip to contentSkip to conversation

mm-split-out-sparse-declarations-from-internalh.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Aug 5

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: split out sparse declarations from internal.h
has been removed from the -mm tree. Its filename was
mm-split-out-sparse-declarations-from-internalh.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: "Mike Rapoport (Microsoft)" <[email protected]>
Subject: mm: split out sparse declarations from internal.h
Date: Thu, 09 Jul 2026 13:00:04 +0300

mm/internal.h becomes more and more bloated.

Move declarations related to SPARSE and SPARSE_VMEMMAP memory models to a new mm/sparse.h header.

No functional changes.

---

 MAINTAINERS         |    1 
 mm/internal.h       |   52 ----------------------------------
 mm/mm_init.c        |    1 
 mm/sparse-vmemmap.c |    1 
 mm/sparse.c         |    1 
 mm/sparse.h         |   63 ++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 67 insertions(+), 52 deletions(-)
MAINTAINERS renamed from MAINTAINERS~mm-split-out-sparse-declarations-from-internalh +1 -0
@@ -17001,6 +17001,7 @@ F:	mm/pgtable-generic.c
 F:	mm/ptdump.c
 F:	mm/sparse-vmemmap.c
 F:	mm/sparse.c
+F:	mm/sparse.h
 F:	mm/util.c
 F:	mm/vmpressure.c
 F:	mm/vmstat.c
mm/internal.h renamed from mm/internal.h~mm-split-out-sparse-declarations-from-internalh +0 -52

58 lines not on this page · raw message

mm/mm_init.c renamed from mm/mm_init.c~mm-split-out-sparse-declarations-from-internalh +1 -0
@@ -35,6 +35,7 @@
 #include "internal.h"
 #include "mm_init.h"
 #include "page_alloc.h"
+#include "sparse.h"
 #include "slab.h"
 #include "shuffle.h"
 
mm/sparse.c renamed from mm/sparse.c~mm-split-out-sparse-declarations-from-internalh +1 -0
@@ -16,6 +16,7 @@
 #include <linux/vmstat.h>
 #include "internal.h"
 #include "mm_init.h"
+#include "sparse.h"
 #include <asm/dma.h>
 
 /*
mm/sparse.h new file +63 -0

63 lines not on this page · raw message

mm/sparse-vmemmap.c renamed from mm/sparse-vmemmap.c~mm-split-out-sparse-declarations-from-internalh +1 -0
@@ -42,6 +42,7 @@
 
 #include "internal.h"
 #include "mm_init.h"
+#include "sparse.h"
 
 /*
  * Allocate a block of memory to be used to back the virtual memory map

_

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

sh-remove-config_numa-and-realted-configuration-options.patch sh-mm-remove-numac.patch sh-mm-drop-allocate_pgdat.patch sh-remove-setup_bootmem_node-and-plat_mem_setup.patch sh-drop-dead-code-guarded-by-ifdef-config_numa.patch sh-drop-include-asm-mmzoneh.patch init-kconfig-drop-arch_want_numa_variable_locality.patch sh-init-remove-call-the-memblock_set_node.patch sh-remove-sparsemem-related-entries-from-kconfig.patch sh-drop-include-asm-sparsememh.patch