Re: [PATCH v7 2/8] iov_iter: Add a function to extract a page list from an iterator

From: Christoph Hellwig
Date: Sat Jan 21 2023 - 08:33:30 EST


On Sat, Jan 21, 2023 at 01:30:47PM +0000, David Howells wrote:
> So just drop the check? Or do I actually need to do something to the pages to
> make it work? If I understand the code correctly, it's not actually operable
> right now on any page that doesn't have an appropriately marked PTE.

Yes, just drop the check. The flag just signals that the caller can
deal with p2p pages. If it gets any or not is a totally different
story.