OSDN Git Service

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>
Mon, 21 Mar 2022 16:56:36 +0000 (12:56 -0400)
commit2d7919a29275dbb9bc3b6e6b4ea015a1eefc463f
tree3392add3fe40d9862ad5081c8cdb876d7ba71c11
parent83afb52e47d5e31c7d58c07a6d31c43b5ef421a0
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