diff options
| author | Kefeng Wang <[email protected]> | 2022-09-07 14:08:42 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-10-03 14:03:03 -0700 |
| commit | 4f9bc69ac5ce34071a9a51343bc81ca76cb2e3f1 (patch) | |
| tree | 09f1faa2d36644a3800fed59651a11ea1089e65e /tools/perf/scripts/python | |
| parent | 0bba9af03d55d2cc1aa7616a8b9e522ceb49d180 (diff) | |
mm: reuse pageblock_start/end_pfn() macro
Move pageblock_start_pfn/pageblock_end_pfn() into pageblock-flags.h, then
they could be used somewhere else, not only in compaction, also use
ALIGN_DOWN() instead of round_down() to be pair with ALIGN(), which should
be same for pageblock usage.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kefeng Wang <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions