[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161101141908.GB17142@lst.de>
Date: Tue, 1 Nov 2016 15:19:08 +0100
From: Christoph Hellwig <hch@....de>
To: Ming Lei <tom.leiming@...il.com>
Cc: Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...com>,
linux-block <linux-block@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Kent Overstreet <kent.overstreet@...il.com>
Subject: Re: [PATCH 1/2] block: add bio_iov_iter_get_pages()
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.
Powered by blists - more mailing lists