summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMike Rapoport (Microsoft) <rppt@kernel.org>2026-06-30 10:22:11 +0300
committerMike Rapoport (Microsoft) <rppt@kernel.org>2026-07-02 09:26:57 +0300
commiteb0e5b61369f7614574fe3262c1cc3c88441e04d (patch)
tree6b213cf287d3a701f7f4184a1f7165ef9c91d8aa /tools/perf/scripts/python/stackcollapse.py
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
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> Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions