OSDN Git Service

mm/gup: Convert check_and_migrate_movable_pages() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 17 Feb 2022 17:46:35 +0000 (12:46 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:58:56 +0000 (12:58 -0400)
commit1b7f7e58decccb52d6bc454413e3298f1ab3a9c6
treea392a4dd24f7aec9289cd7b9ea0747f9f9c03211
parent536939ff516382b391a0039262e27fc80c7b3924
mm/gup: Convert check_and_migrate_movable_pages() to use a folio

Switch from head pages to folios.  This removes an assumption that
THPs are the only way to have a high-order page.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
mm/gup.c