mm/gup: Remove an assumption of a contiguous memmap
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 7 Jan 2022 18:45:25 +0000 (13:45 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 17 Feb 2022 22:05:52 +0000 (17:05 -0500)
commit62f66542c85c2c77ae7b4a2a0a14338b03f7fda6
tree9fc060be6d2a301d815075e2279cea6f73af2a44
parentf701d40e8b70c3102d81a2c590dd35c99672e9bf
mm/gup: Remove an assumption of a contiguous memmap

This assumption needs the inverse of nth_page(), which is temporarily
named page_nth() until it's renamed later in this series.

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