diff options
| author | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-06-30 10:22:12 +0300 |
|---|---|---|
| committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-07-02 09:26:57 +0300 |
| commit | 3be62316839ac82f934988a2bcdcaed5c1b56d39 (patch) | |
| tree | 56d4916dde73d3638ef75c49824bc22e34450bd2 /scripts/Makefile.thinlto | |
| parent | 85b5acfefcf9abd79b9672a54a3b9f48560e7986 (diff) | |
| download | linux-next-3be62316839ac82f934988a2bcdcaed5c1b56d39.tar.gz linux-next-3be62316839ac82f934988a2bcdcaed5c1b56d39.zip | |
mm/mm_init: drop overlap_memmap_init()
When ZONE_NORMAL and ZONE_MOVABLE could overlap because kernelcore=mirror
didn't reduce the span of ZONE_NORMAL, initialization of the memory map had
to skip overlapping pages during initialization of ZONE_MOVABLE to avoid
double initialization of the same struct pages.
Since kernelcore=mirror works now the same way as other variants of
kernelcore=/movablecore=, and adjusts the span of ZONE_NORMAL, there can't
be an overlap between ZONE_NORMAL and ZONE_MOVABLE.
Remove overlap_memmap_init().
Co-developed-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>
Link: https://patch.msgid.link/20260630072212.624305-3-rppt@kernel.org
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
