]> git.baikalelectronics.ru Git - kernel.git/commit
mm/gup: Turn compound_range_next() into gup_folio_range_next()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 23 Dec 2021 15:20:12 +0000 (10:20 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:56:36 +0000 (12:56 -0400)
commitdab94cab4a32d78d4bfe156f19066d9417dcfd42
tree24078e2e3ea51f6da131f87a2a29797e97414bb7
parent4f0ead6e5d0503dca90a92153dc4f46fb85228f8
mm/gup: Turn compound_range_next() into gup_folio_range_next()

Convert the only caller to work on folios instead of pages.
This removes the last caller of put_compound_head(), so delete 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>
include/linux/mm.h
mm/gup.c