Re: [PATCH v2 4/7] iov_iter: new iov_iter_pin_pages*() routines

David Hildenbrand
2022-09-22T14:44:06Z

On 22.09.22 16:36, Christoph Hellwig wrote:
> On Tue, Sep 20, 2022 at 06:02:11AM +0100, Al Viro wrote:
>> nvme target: nvme read requests end up with somebody allocating and filling
>> sglist, followed by reading from file into it (using ITER_BVEC). Then the
>> pages are sent out, presumably
>
> Yes.
>
>> . I would be very surprised if it turned out
>> to be anything other than anon pages allocated by the driver, but I'd like
>> to see that confirmed by nvme folks. Probably doesn't need pinning.
>
> They are anon pages allocated by the driver using sgl_alloc().

I assume they are not anon pages as in "PageAnon()", but simply not
pagecache pages, correct?

--
Thanks,

David / dhildenb