aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMa Wupeng <[email protected]>2022-04-28 23:16:14 -0700
committerakpm <[email protected]>2022-04-28 23:16:14 -0700
commitaa282a157bf8ff79bed9164dc5e0e99f0d9e9755 (patch)
tree02a7dcaf9db2775c8181fecc5c69de8a8abd626f /tools/perf/scripts/python
parent3c9fe8b8f5e3e30bfa81eeeff4bc34c0fb67b739 (diff)
mm/page_alloc.c: calc the right pfn if page size is not 4K
Previous 0x100000 is used to check the 4G limit in find_zone_movable_pfns_for_nodes(). This is right in x86 because the page size can only be 4K. But 16K and 64K are available in arm64. So replace it with PHYS_PFN(SZ_4G). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ma Wupeng <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Reviewed-by: Anshuman Khandual <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions