Re: [PATCH 0/2] optimise bvec/bio iteration
From: Jens Axboe <axboe@kernel.dk>
Date: 2020-12-02 16:48:18
From: Jens Axboe <axboe@kernel.dk>
Date: 2020-12-02 16:48:18
On 11/24/20 10:58 AM, Pavel Begunkov wrote:
This adds simpler versions of bvec_iter_advance() and bio_advance_iter() (i.e. *_single()), that are faster but work with the restriction that @bytes shouldn't be more than available in the current bvec segment. That covers most of bvec/bio iteration/foreach, that are massively inlined, and thus also nicely shrinks binary. Others non core-block users might be updated on case by case basis (if applicable) after the change is merged.
Applied, thanks. -- Jens Axboe