Hi, David, David Hildenbrand <da...@redhat.com> writes:
> 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 <a...@linux-foundation.org> > Cc: Madhavan Srinivasan <ma...@linux.ibm.com> > Cc: Michael Ellerman <m...@ellerman.id.au> > Cc: Nicholas Piggin <npig...@gmail.com> > Cc: Christophe Leroy <christophe.le...@csgroup.eu> > Cc: Jerrin Shaji George <jerrin.shaji-geo...@broadcom.com> > Cc: Arnd Bergmann <a...@arndb.de> > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> > Cc: "Michael S. Tsirkin" <m...@redhat.com> > Cc: Jason Wang <jasow...@redhat.com> > Cc: Xuan Zhuo <xuanz...@linux.alibaba.com> > Cc: "Eugenio Pérez" <epere...@redhat.com> > Cc: Alexander Viro <v...@zeniv.linux.org.uk> > Cc: Christian Brauner <brau...@kernel.org> > Cc: Jan Kara <j...@suse.cz> > Cc: Benjamin LaHaise <b...@kvack.org> > Cc: Chris Mason <c...@fb.com> > Cc: Josef Bacik <jo...@toxicpanda.com> > Cc: David Sterba <dste...@suse.com> > Cc: Muchun Song <muchun.s...@linux.dev> > Cc: Oscar Salvador <osalva...@suse.de> > Cc: Dave Kleikamp <sha...@kernel.org> > Cc: Zi Yan <z...@nvidia.com> > Cc: Matthew Brost <matthew.br...@intel.com> > Cc: Joshua Hahn <joshua.hah...@gmail.com> > Cc: Rakie Kim <rakie....@sk.com> > Cc: Byungchul Park <byungc...@sk.com> > Cc: Gregory Price <gou...@gourry.net> > Cc: Ying Huang <ying.hu...@linux.alibaba.com> > Cc: Alistair Popple <apop...@nvidia.com> > Cc: Minchan Kim <minc...@kernel.org> > Cc: Sergey Senozhatsky <senozhat...@chromium.org> > > David Hildenbrand (2): > mm/migrate: remove MIGRATEPAGE_UNMAP > treewide: remove MIGRATEPAGE_SUCCESS LGTM. Feel free to add my Reviewed-by: Huang Ying <ying.hu...@linux.alibaba.com> for the whole series in the future versions. > 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 --- Best Regards, Huang, Ying