This is against mm/mm-new. This series gets rid of MIGRATEPAGE_UNMAP, to then convert the remaining MIGRATEPAGE_SUCCESS usage to simply use 0 instead.
Not sure if it makes sense to split the second patch up, a treewide cleanup felt more reasonable for this simple change in an area where I don't expect a lot of churn. Briefly tested with virtio-mem in a VM, making sure that basic page migration keeps working. Cc: Andrew Morton <[email protected]> Cc: Madhavan Srinivasan <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: Christophe Leroy <[email protected]> Cc: Jerrin Shaji George <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: "Michael S. Tsirkin" <[email protected]> Cc: Jason Wang <[email protected]> Cc: Xuan Zhuo <[email protected]> Cc: "Eugenio Pérez" <[email protected]> Cc: Alexander Viro <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Jan Kara <[email protected]> Cc: Benjamin LaHaise <[email protected]> Cc: Chris Mason <[email protected]> Cc: Josef Bacik <[email protected]> Cc: David Sterba <[email protected]> Cc: Muchun Song <[email protected]> Cc: Oscar Salvador <[email protected]> Cc: Dave Kleikamp <[email protected]> Cc: Zi Yan <[email protected]> Cc: Matthew Brost <[email protected]> Cc: Joshua Hahn <[email protected]> Cc: Rakie Kim <[email protected]> Cc: Byungchul Park <[email protected]> Cc: Gregory Price <[email protected]> Cc: Ying Huang <[email protected]> Cc: Alistair Popple <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Sergey Senozhatsky <[email protected]> David Hildenbrand (2): mm/migrate: remove MIGRATEPAGE_UNMAP treewide: remove MIGRATEPAGE_SUCCESS arch/powerpc/platforms/pseries/cmm.c | 2 +- drivers/misc/vmw_balloon.c | 4 +- drivers/virtio/virtio_balloon.c | 2 +- fs/aio.c | 2 +- fs/btrfs/inode.c | 4 +- fs/hugetlbfs/inode.c | 4 +- fs/jfs/jfs_metapage.c | 8 +-- include/linux/migrate.h | 11 +--- mm/migrate.c | 80 ++++++++++++++-------------- mm/migrate_device.c | 2 +- mm/zsmalloc.c | 4 +- 11 files changed, 56 insertions(+), 67 deletions(-) base-commit: 53c448023185717d0ed56b5546dc2be405da92ff -- 2.50.1
