diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2021-11-05 21:40:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-06 21:30:37 +0100 |
commit | 86fb05b9cc1ac7cdcf37e5408b927dd3ad95db96 (patch) | |
tree | 94709a30501da54a00f7e905e93adf83beaf2d64 /Documentation | |
parent | mm/page_alloc.c: fix obsolete comment in free_pcppages_bulk() (diff) | |
download | linux-86fb05b9cc1ac7cdcf37e5408b927dd3ad95db96.tar.xz linux-86fb05b9cc1ac7cdcf37e5408b927dd3ad95db96.zip |
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/20210902121242.41607-5-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions