[PATCH RFC 11/29] mm/migrate: move movable_ops page handling out of move_to_new_folio()

Zi Yan ziy at nvidia.com
Sat Jun 21 06:06:44 AEST 2025


On 18 Jun 2025, at 13:39, David Hildenbrand wrote:

> Let's move that handling directly into migrate_folio_move(), so we can
> simplify move_to_new_folio(). While at it, fixup the documentation a
> bit.
>
> Note that unmap_and_move_huge_page() does not care, because it only
> deals with actual folios. (we only support migration of
> individual movable_ops pages)
>
> Signed-off-by: David Hildenbrand <david at redhat.com>
> ---
>  mm/migrate.c | 61 ++++++++++++++++++++++++----------------------------
>  1 file changed, 28 insertions(+), 33 deletions(-)
>
Reviewed-by: Zi Yan <ziy at nvidia.com>

--
Best Regards,
Yan, Zi


More information about the Linuxppc-dev mailing list