mm/compaction: correct comment of cached migrate pfn update
authorKemeng Shi <shikemeng@huaweicloud.com>
Fri, 4 Aug 2023 11:04:51 +0000 (19:04 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:37:42 +0000 (13:37 -0700)
commitcf043a007e00ae7fe5a4aa5447068fcd13ce031b
tree77cf03d907090a7b2c8b566348870444954c2c05
parent0aa8ea3c5d353d5f0aa1e607f8dc5f43bf6cdf05
mm/compaction: correct comment of cached migrate pfn update

Commit e380bebe47715 ("mm, compaction: keep migration source private to a
single compaction instance") moved update of async and sync
compact_cached_migrate_pfn from update_pageblock_skip to
update_cached_migrate but left the comment behind.  Move the relevant
comment to correct this.

Link: https://lkml.kernel.org/r/20230804110454.2935878-6-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/compaction.c