mm/compaction: correct comment of candidate pfn in fast_isolate_freepages
authorKemeng Shi <shikemeng@huawei.com>
Fri, 21 Jul 2023 15:09:56 +0000 (23:09 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:12:44 +0000 (10:12 -0700)
commite6bd14eca207bf822b7c743818ba6e04889348ec
tree0d5f7849def594766f6b294447b8471da51c0e68
parenteafcb7a972e2039e0f8a8c0d4fd3e90e485c8b9c
mm/compaction: correct comment of candidate pfn in fast_isolate_freepages

Patch series "Two minor cleanups for compaction", v2.

This series contains two random cleanups for compaction.

This patch (of 2):

If no preferred one was not found, we will use candidate page with maximum
pfn > min_pfn which is saved in high_pfn.  Correct "minimum" to "maximum
candidate" in comment.

Link: https://lkml.kernel.org/r/20230721150957.2058634-1-shikemeng@huawei.com
Link: https://lkml.kernel.org/r/20230721150957.2058634-2-shikemeng@huawei.com
Signed-off-by: Kemeng Shi <shikemeng@huawei.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/compaction.c