]> www.infradead.org Git - users/jedix/linux-maple.git/commit
migrate: expand the use of folio in __migrate_device_pages()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 23 Apr 2024 22:55:35 +0000 (23:55 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 6 May 2024 00:53:48 +0000 (17:53 -0700)
commite18a9faf06c2407916326bf5f1112f5eba859331
treeab9c9942d17685a6d2870cf3e6bfd5a6886821d5
parent89f5c54b228181713f1c00b27b360b29643cdfa6
migrate: expand the use of folio in __migrate_device_pages()

Removes a few calls to compound_head() and a call to page_mapping().

Link: https://lkml.kernel.org/r/20240423225552.4113447-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Eric Biggers <ebiggers@google.com>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/migrate_device.c