mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
mm/compaction: correct comment to complete migration failure
Commit cfccd2e63e ("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>
This commit is contained in:
parent
cf043a007e
commit
c3750cc772
|
|
@ -2532,7 +2532,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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user