diff options
| author | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-06-30 10:22:11 +0300 |
|---|---|---|
| committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-07-02 09:26:57 +0300 |
| commit | 85b5acfefcf9abd79b9672a54a3b9f48560e7986 (patch) | |
| tree | 6b213cf287d3a701f7f4184a1f7165ef9c91d8aa /scripts/Makefile.thinlto | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
| download | linux-next-85b5acfefcf9abd79b9672a54a3b9f48560e7986.tar.gz linux-next-85b5acfefcf9abd79b9672a54a3b9f48560e7986.zip | |
mm/mm_init: don't overlap NORMAL and MOVABLE zones with kernelcore=mirror
When kernelcore or movablecore kernel parameters define size of the
NORMAL and MOVABLE zones as percents of the total memory or by absolute
value, ZONE_NORMAL is clamped at the beginning of ZONE_MOVABLE.
However, when kernelcore=mirror the ZONE_NORMAL span is not changed but
rather pages from ZONE_MOVABLE counted as absent in ZONE_NORMAL.
Make the behaviour of kernelcore= parameter uniform and treat mirror
just as another way to size the zones.
Co-developed-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Link: https://patch.msgid.link/20260630072212.624305-2-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
