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

From: David Howells
Date: Tue Nov 22 2022 - 08:38:08 EST


Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:

> > +EXPORT_SYMBOL(iov_iter_extract_pages);
>
> get_user_pages_fast, pin_user_pages_fast are very intentionally
> EXPORT_SYMBOL_GPL, which should not be bypassed by an iov_* wrapper.

Ah, but I'm intending to replace:

EXPORT_SYMBOL(iov_iter_get_pages2);
EXPORT_SYMBOL(iov_iter_get_pages_alloc2);

which *aren't* marked _GPL, so you need to argue that one with Al.

David