On Tue, Nov 01, 2016 at 09:05:00AM +0800, Ming Lei wrote: > > + size = iov_iter_get_pages(iter, pages, LONG_MAX, nr_pages, &offset); > > BTW, if there is one multi-page version of get_user_pages_fast() and > iov_iter_get_pages(), size of page array can be reduced too. There isn't at the moment. I have some plans for it, but it will require lots of mm and arch changes, so I'd like to keep it separate. -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html