Re: [PATCH v1 2/6] iov_iter: optimise bvec iov_iter_advance()

2020-12-22 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH v1 2/6] iov_iter: optimise bvec iov_iter_advance()

2020-12-15 Thread Pavel Begunkov
On 15/12/2020 13:54, David Laight wrote: > From: Pavel Begunkov >> Sent: 15 December 2020 11:24 >> >> On 15/12/2020 09:37, David Laight wrote: >>> From: Pavel Begunkov Sent: 15 December 2020 00:20 iov_iter_advance() is heavily used, but implemented through generic iteration. As

RE: [PATCH v1 2/6] iov_iter: optimise bvec iov_iter_advance()

2020-12-15 Thread David Laight
From: Pavel Begunkov > Sent: 15 December 2020 11:24 > > On 15/12/2020 09:37, David Laight wrote: > > From: Pavel Begunkov > >> Sent: 15 December 2020 00:20 > >> > >> iov_iter_advance() is heavily used, but implemented through generic > >> iteration. As bvecs have a specifically crafted advance() f

Re: [PATCH v1 2/6] iov_iter: optimise bvec iov_iter_advance()

2020-12-15 Thread Pavel Begunkov
On 15/12/2020 09:37, David Laight wrote: > From: Pavel Begunkov >> Sent: 15 December 2020 00:20 >> >> iov_iter_advance() is heavily used, but implemented through generic >> iteration. As bvecs have a specifically crafted advance() function, i.e. >> bvec_iter_advance(), which is faster and slimmer,

RE: [PATCH v1 2/6] iov_iter: optimise bvec iov_iter_advance()

2020-12-15 Thread David Laight
From: Pavel Begunkov > Sent: 15 December 2020 00:20 > > iov_iter_advance() is heavily used, but implemented through generic > iteration. As bvecs have a specifically crafted advance() function, i.e. > bvec_iter_advance(), which is faster and slimmer, use it instead. > > Signed-off-by: Pavel Begun

[PATCH v1 2/6] iov_iter: optimise bvec iov_iter_advance()

2020-12-14 Thread Pavel Begunkov
iov_iter_advance() is heavily used, but implemented through generic iteration. As bvecs have a specifically crafted advance() function, i.e. bvec_iter_advance(), which is faster and slimmer, use it instead. Signed-off-by: Pavel Begunkov --- lib/iov_iter.c | 19 +++ 1 file changed