mm: convert migrate_pages() to work on folios
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 13 May 2023 00:11:01 +0000 (01:11 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Jun 2023 23:25:27 +0000 (16:25 -0700)
commit4e096ae1801e24b338e02715c65c3ffa8883ba5d
treebd3c655a292b70dd3d210187e27eba4a0ecd742a
parentb2cac248191b7466c5819e0da617b0705a26e197
mm: convert migrate_pages() to work on folios

Almost all of the callers & implementors of migrate_pages() were already
converted to use folios.  compaction_alloc() & compaction_free() are
trivial to convert a part of this patch and not worth splitting out.

Link: https://lkml.kernel.org/r/20230513001101.276972-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: "Huang, Ying" <ying.huang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/mm/page_migration.rst
Documentation/translations/zh_CN/mm/page_migration.rst
include/linux/migrate.h
mm/compaction.c
mm/mempolicy.c
mm/migrate.c
mm/vmscan.c