diff options
| author | Wei Yang <richard.weiyang@gmail.com> | 2025-02-11 08:29:00 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-16 22:06:13 -0700 |
| commit | 4bc2e699e3d8f56f2aaafd14109ff77311f95336 (patch) | |
| tree | 55d6fca33fa08664d8ba450fbcbd76a8249f35bf /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 4ddb20926842ff1e892bb8dce64ab93058102601 (diff) | |
| download | linux-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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
