]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mm/compaction: correct comment to complete migration failure
authorKemeng Shi <shikemeng@huaweicloud.com>
Fri, 4 Aug 2023 11:04:52 +0000 (19:04 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:37:43 +0000 (13:37 -0700)
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>
mm/compaction.c

index db44319dc716c4aedd77e52140d61be2cdacef25..d0d3fea64b40892a48b8bb5b7de3ac7825535da9 100644 (file)
@@ -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