From: Kemeng Shi Date: Fri, 4 Aug 2023 11:04:52 +0000 (+0800) Subject: mm/compaction: correct comment to complete migration failure X-Git-Tag: v6.6-rc1~156^2~176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3750cc7725af8da06f2f36ddce7adc52a3a51d6;p=thirdparty%2Fkernel%2Flinux.git 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 Cc: Baolin Wang Cc: David Hildenbrand Cc: Mel Gorman Signed-off-by: Andrew Morton --- diff --git a/mm/compaction.c b/mm/compaction.c index db44319dc716c..d0d3fea64b408 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