aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLeesoo Ahn <[email protected]>2024-06-11 00:15:28 +0900
committerAndrew Morton <[email protected]>2024-07-03 19:30:08 -0700
commitafb90a36c643112bc8cabefb71c110ee2b757ca3 (patch)
tree18aa1a1a53eab0ffac62db798564b47c066ae9af /tools/perf/scripts/python/stackcollapse.py
parent735ecdfaf4e802209caf34b7ac45adf448c54ccc (diff)
mm/sparse: use MEMBLOCK_ALLOC_ACCESSIBLE enum instead of 0
Setting 'limit' variable to 0 might seem like it means "no limit". But in the memblock API, 0 actually means the 'MEMBLOCK_ALLOC_ACCESSIBLE' enum, which limits the physical address range end based on 'memblock.current_limit'. This could be confusing. Use the enum instead of 0 to make it clear. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Leesoo Ahn <[email protected]> Acked-by: Mike Rapoport (IBM) <[email protected]> Reviewed-by: Wei Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions