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

From: David Howells
Date: Thu Jan 26 2023 - 19:08:38 EST


David Hildenbrand <david@xxxxxxxxxx> wrote:

> As raised already somewhere in the whole discussion by me, the right way to
> take such a long-term ping as vmsplice() does is to use
> FOLL_PIN|FOLL_LONGTERM.

So the pipe infrastructure would have to be able to pin pages instead of
carrying refs on them? What about pages just allocated and added to the pipe
ring in normal pipe use?

David