[PATCH v3 6/8] mm/compaction: correct comment to complete migration failure

Kemeng Shi posted 8 patches 2 years, 1 month ago
There is a newer version of this series
[PATCH v3 6/8] mm/compaction: correct comment to complete migration failure
Posted by Kemeng Shi 2 years, 1 month ago
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.

Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
---
 mm/compaction.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/compaction.c b/mm/compaction.c
index fda61dc40f93..9022209b64c3 100644
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -2534,7 +2534,7 @@ compact_zone(struct compact_control *cc, struct capture_control *capc)
 			}
 			/*
 			 * 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
-- 
2.30.0