Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > How is it better than "iov_iter_get_pages2() into a fixed-sized > array and handle the result" done in a loop? I did that first - and you objected on the basis that I shouldn't be taking page refs if it's not necessary, and under some circumstances some of the pages pointed to by the iterator might not be something that I should attempt to take a ref on. David