Re: [PATCH v2] MAINTAINERS: add MM MISC section, add missing files to MISC and CORE

From: David Hildenbrand
Date: Wed Jul 23 2025 - 06:37:10 EST


On 23.07.25 11:58, Lorenzo Stoakes wrote:
Add a MEMORY MANAGEMENT - MISC section to contain files that are not described
by other sections, moving all but the catch-all mm/ and tools/mm/ from MEMORY
MANAGEMENT to MEMORY MANAGEMENT - CORE and MEMORY MANAGEMENT - MISC as
appropriate.

Curious: do we need the catch-all because of untracked files, or because of future files?


In both sections add remaining missing files. At this point, with the other
recent MAINTAINERS changes, this should now mean that every memory
management-related file has a section and assigned maintainers/reviewers.

Finally, we copy across the maintainers/reviewers from MEMORY MANAGEMENT -
CORE to MEMORY MANAGEMENT - MISC, as it seems the two are sufficiently
related for this to be sensible.

Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
Acked-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
---

v2:
* Propagate ack (thanks Mike!)
* Retain MEMORY MANAGEMENT section to contain the global mm/ and tools/mm/
directories and remove from MEMORY MANAGEMENT - MISC section, I misunderstood
how these catch-alls would work. As reported by Vlastimil.
* Update cover letter and subject to reflect the above.

v1:
https://lore.kernel.org/all/20250722192704.164758-1-lorenzo.stoakes@xxxxxxxxxx/


MAINTAINERS | 68 ++++++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 54 insertions(+), 14 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 507a999f1955..5a9d4c57add4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -15741,22 +15741,8 @@ S: Maintained
W: http://www.linux-mm.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
T: quilt git://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new
-F: Documentation/admin-guide/mm/
-F: Documentation/mm/
-F: include/linux/gfp.h
-F: include/linux/gfp_types.h
-F: include/linux/memory_hotplug.h
-F: include/linux/memory-tiers.h
-F: include/linux/mempolicy.h
-F: include/linux/mempool.h
-F: include/linux/mmzone.h
-F: include/linux/mmu_notifier.h
-F: include/linux/pagewalk.h
-F: include/trace/events/ksm.h
F: mm/
F: tools/mm/
-F: tools/testing/selftests/mm/
-N: include/linux/page[-_]*

MEMORY MANAGEMENT - CORE
M: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
@@ -15771,18 +15757,32 @@ L: linux-mm@xxxxxxxxx
S: Maintained
W: http://www.linux-mm.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
+F: include/linux/gfp.h
+F: include/linux/gfp_types.h
F: include/linux/memory.h
F: include/linux/mm.h
F: include/linux/mm_*.h
+F: include/linux/mmzone.h
F: include/linux/mmdebug.h
F: include/linux/pagewalk.h
F: kernel/fork.c
F: mm/Kconfig
F: mm/debug.c
+F: mm/folio-compat.c
+F: mm/highmem.c
F: mm/init-mm.c
+F: mm/internal.h
+F: mm/maccess.c
F: mm/memory.c
+F: mm/mmzone.c
F: mm/pagewalk.c
+F: mm/pgtable-generic.c
+F: mm/sparse-vmemmap.c
+F: mm/sparse.c
F: mm/util.c
+F: mm/vmpressure.c
+F: mm/vmstat.c
+N: include/linux/page[-_]*

MEMORY MANAGEMENT - EXECMEM
M: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
@@ -15844,6 +15844,46 @@ F: mm/mempolicy.c
F: mm/migrate.c
F: mm/migrate_device.c

+MEMORY MANAGEMENT - MISC
+M: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
+M: David Hildenbrand <david@xxxxxxxxxx>
+R: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
+R: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>
+R: Vlastimil Babka <vbabka@xxxxxxx>
+R: Mike Rapoport <rppt@xxxxxxxxxx>
+R: Suren Baghdasaryan <surenb@xxxxxxxxxx>
+R: Michal Hocko <mhocko@xxxxxxxx>
+L: linux-mm@xxxxxxxxx
+S: Maintained
+W: http://www.linux-mm.org
+T: git git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
+F: Documentation/admin-guide/mm/
+F: Documentation/mm/
+F: include/linux/memory-tiers.h
+F: include/linux/mempolicy.h

That is already under "MEMORY MANAGEMENT - MEMORY POLICY AND MIGRATION"

+F: include/linux/mempool.h
+F: include/linux/memremap.h

That will be MEMORY_HOTPLUG, right?

+F: include/linux/mmu_notifier.h
+F: include/trace/events/ksm.h

This is already in the KSM section.

+F: mm/backing-dev.c
+F: mm/cma.c
+F: mm/cma_debug.c
+F: mm/cma_sysfs.c
+F: mm/dmapool.c
+F: mm/dmapool_test.c
+F: mm/early_ioremap.c
+F: mm/fadvise.c
+F: mm/io-mapping.c
+F: mm/ioremap.c
+F: mm/mapping_dirty_helpers.c
+F: mm/memory-tiers.c
+F: mm/mmu_notifier.c
+F: mm/page_idle.c
+F: mm/pgalloc-track.h
+F: mm/process_vm_access.c
+F: mm/ptdump.c
+F: tools/testing/selftests/mm/

Kind-of a catch-all as well.


--
Cheers,

David / dhildenb