Re: [PATCH v1 2/2] treewide: remove MIGRATEPAGE_SUCCESS
Zi Yan <[email protected]>
| Newsgroups | gmane.linux.kernel.aio.general,gmane.linux.kernel,gmane.linux.kernel.mm,gmane.linux.ports.ppc64.devel,gmane.linux.file-systems,gmane.comp.file-systems.btrfs |
|---|---|
| Message-ID | <[email protected]> |
On 11 Aug 2025, at 10:39, David Hildenbrand wrote: > At this point MIGRATEPAGE_SUCCESS is misnamed for all folio users, > and now that we remove MIGRATEPAGE_UNMAP, it's really the only "success" > return value that the code uses and expects. > > Let's just get rid of MIGRATEPAGE_SUCCESS completely and just use "0" > for success. > > Signed-off-by: David Hildenbrand <[email protected]> > --- > 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 | 10 +------ > mm/migrate.c | 40 +++++++++++++--------------- > mm/migrate_device.c | 2 +- > mm/zsmalloc.c | 4 +-- > 11 files changed, 36 insertions(+), 46 deletions(-) > For the mm part, LGTM. Reviewed-by: Zi Yan <[email protected]> Best Regards, Yan, Zi -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to [email protected]. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"[email protected]">[email protected]</a>