diff options
| author | Miaohe Lin <[email protected]> | 2021-11-05 13:40:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-11-06 13:30:37 -0700 |
| commit | 86fb05b9cc1ac7cdcf37e5408b927dd3ad95db96 (patch) | |
| tree | 94709a30501da54a00f7e905e93adf83beaf2d64 /tools/perf/scripts/python | |
| parent | 7cba630bd830472f88ada5fdd34bbfd5825d9217 (diff) | |
mm/page_alloc.c: use helper function zone_spans_pfn()
Use helper function zone_spans_pfn() to check whether pfn is within a
zone to simplify the code slightly.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions