mm/migrate: Convert migrate_page() to migrate_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 6 Jun 2022 14:27:41 +0000 (10:27 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 2 Aug 2022 16:34:04 +0000 (12:34 -0400)
commit541846502f4fe826cd7c16e4784695ac90736585
tree037219533d39265d632833c86c875a9475469fd7
parent4ae84a80475144f739f77ed8bc789bc7feaa08ce
mm/migrate: Convert migrate_page() to migrate_folio()

Convert all callers to pass a folio.  Most have the folio
already available.  Switch all users from aops->migratepage to
aops->migrate_folio.  Also turn the documentation into kerneldoc.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: David Sterba <dsterba@suse.com>
drivers/gpu/drm/i915/gem/i915_gem_userptr.c
fs/btrfs/disk-io.c
fs/nfs/write.c
include/linux/migrate.h
mm/migrate.c
mm/migrate_device.c
mm/shmem.c
mm/swap_state.c