summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2025-02-11 08:29:00 +0000
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:06:13 -0700
commit4bc2e699e3d8f56f2aaafd14109ff77311f95336 (patch)
tree55d6fca33fa08664d8ba450fbcbd76a8249f35bf /tools/perf/scripts/python/stackcollapse.py
parent4ddb20926842ff1e892bb8dce64ab93058102601 (diff)
downloadlinux-4bc2e699e3d8f56f2aaafd14109ff77311f95336.tar.gz
linux-4bc2e699e3d8f56f2aaafd14109ff77311f95336.zip
mm/mm_init.c: only align start of ZONE_MOVABLE on nodes with memory
At the beginning of find_zone_movable_pfns_for_nodes(), it has properly set node_states[N_MEMORY] in early_calculate_totalpages(). Instead of iterating over all possible nodes, we can just do the alignment on nodes with memory. Link: https://lkml.kernel.org/r/20250211082900.10877-1-richard.weiyang@gmail.com Signed-off-by: Wei Yang <richard.weiyang@gmail.com> Acked-by: David Hildenbrand <david@redhat.com> Reviewed-by: Dev Jain <dev.jain@arm.com> Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions