diff options
author | Kemeng Shi <shikemeng@huawei.com> | 2023-08-03 17:48:59 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-21 13:37:39 -0700 |
commit | a2864a67452ec6e378e57cbe151aad62ccdcc03f (patch) | |
tree | e5bb4b7951679cf9e9f9654090036dbf17a2d58a /net | |
parent | 16951789008dc0029b1e073fb1c20c1abb4c6504 (diff) |
mm/compaction: merge end_pfn boundary check in isolate_freepages_range
Merge the end_pfn boundary check for single page block forward and
multiple page blocks forward to avoid do twice boundary check for multiple
page blocks forward.
Link: https://lkml.kernel.org/r/20230803094901.2915942-3-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions