Skip to content

mm: split a couple of headers from internal.h

Mike Rapoport (Microsoft) kexec linux-cxl linux-mm lkml 2 versions In review

Get series with b4
b4 am [email protected] change-id 20260707-internal-h-2efef660381d

Versions newest first

  1. v2 Latest3 patches 6 repliesIn review 2 of 3 applied
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* fix fallouts of rebase fixups of checkpatch warnings

Patches in v2 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3mm: split out mm_init and memblock declarations from internal.hMAINTAINERS kernel/liveupdate/kexec_handover.c mm/cma.c +9 more+130 -911 reply
2/3mm: split out sparse declarations from internal.hMAINTAINERS mm/internal.h mm/mm_init.c +3 more+67 -520 repliesApplied
3/3mm: split out vmalloc declarations from internal.hMAINTAINERS kernel/liveupdate/kexec_handover.c mm/execmem.c +7 more+54 -410 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMuchun SongVlastimil Babka (SUSE)David Hildenbrand (Arm)Pratyush YadavLorenzo StoakesSJ Park
SeriesA-b A-b A-b A-b A-b
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] mm: split a couple of headers from internal.h

mm/internal.h becomes more and more bloated.

Split declarations related to mm_init, memblock, vmalloc and sparse into new headers.

---
v2 changes:
* fix fallouts of rebase fixups of checkpatch warnings

v1: https://patch.msgid.link/[email protected]

---
Mike Rapoport (Microsoft) (3):
mm: split out mm_init and memblock declarations from internal.h
mm: split out sparse declarations from internal.h
mm: split out vmalloc declarations from internal.h

 MAINTAINERS                        |   3 +
 kernel/liveupdate/kexec_handover.c |   3 +-
 mm/cma.c                           |   1 +
 mm/execmem.c                       |   1 +
 mm/hugetlb.c                       |   1 +
 mm/internal.h                      | 183 -------------------------------------
 mm/kmsan/hooks.c                   |   1 +
 mm/kmsan/shadow.c                  |   1 +
 mm/memblock.c                      |   1 +
 mm/memory_hotplug.c                |   1 +
 mm/mm_init.c                       |   3 +
 mm/mm_init.h                       | 120 ++++++++++++++++++++++++
 mm/page_alloc.c                    |   1 +
 mm/percpu-vm.c                     |   1 +
 mm/sparse-vmemmap.c                |   2 +
 mm/sparse.c                        |   2 +
 mm/sparse.h                        |  63 +++++++++++++
 mm/vmalloc.c                       |   1 +
 mm/vmalloc.h                       |  46 ++++++++++
 19 files changed, 251 insertions(+), 184 deletions(-)

---
base-commit: 59e34180e138a293260301c139cf7ee800978533
change-id: 20260707-internal-h-2efef660381d

--
Sincerely yours,
Mike.