Re: [PATCH v3 5/7] iov_iter: optimise bvec iov_iter_advance()

2021-01-10 Thread Ming Lei
On Sat, Jan 09, 2021 at 04:03:01PM +, Pavel Begunkov wrote: > iov_iter_advance() is heavily used, but implemented through generic > means. For bvecs there is a specifically crafted function for that, so > use bvec_iter_advance() instead, it's faster and slimmer. > > Reviewed-by: Christoph Hell

[PATCH v3 5/7] iov_iter: optimise bvec iov_iter_advance()

2021-01-09 Thread Pavel Begunkov
iov_iter_advance() is heavily used, but implemented through generic means. For bvecs there is a specifically crafted function for that, so use bvec_iter_advance() instead, it's faster and slimmer. Reviewed-by: Christoph Hellwig Signed-off-by: Pavel Begunkov --- lib/iov_iter.c | 19 +