summaryrefslogtreecommitdiffstats
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2023-08-04 13:04:52 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-08-21 22:37:43 +0200
commitc3750cc7725af8da06f2f36ddce7adc52a3a51d6 (patch)
treef5e63ea36f916cb6695e95f9a0aa08ddc7f9442c /mm/compaction.c
parentmm/compaction: correct comment of cached migrate pfn update (diff)
downloadlinux-c3750cc7725af8da06f2f36ddce7adc52a3a51d6.tar.xz
linux-c3750cc7725af8da06f2f36ddce7adc52a3a51d6.zip
mm/compaction: correct comment to complete migration failure
Commit cfccd2e63e7e0 ("mm, compaction: finish pageblocks on complete migration failure") convert cc->order aligned check to page block order aligned check. Correct comment relevant with it. Link: https://lkml.kernel.org/r/20230804110454.2935878-7-shikemeng@huaweicloud.com Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Cc: 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 'mm/compaction.c')
-rw-r--r--mm/compaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/compaction.c b/mm/compaction.c
index db44319dc716..d0d3fea64b40 100644
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -2532,7 +2532,7 @@ rescan:
}
/*
* If an ASYNC or SYNC_LIGHT fails to migrate a page
- * within the current order-aligned block and
+ * within the pageblock_order-aligned block and
* fast_find_migrateblock may be used then scan the
* remainder of the pageblock. This will mark the
* pageblock "skip" to avoid rescanning in the near