mm/gup: Convert gup_huge_pgd() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 23 Dec 2021 03:30:29 +0000 (22:30 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 17 Feb 2022 22:05:52 +0000 (17:05 -0500)
commit92b178d84e3809fc16f7ba532429ff9269e0005d
tree5bc30a420ff6681be466a556cc82e91084a2fcde
parent4568c0e6b2fbcefa3c3bbc8b99d18fa392286377
mm/gup: Convert gup_huge_pgd() to use a folio

Use the new folio-based APIs.  This was the last user of
try_grab_compound_head(), so remove it.

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