optimise bvec/bio iteration
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: optimise for_each_bvec() advanceinclude/ | +15 | 1 reply | |
| 2/2 | bio: optimise bvec iterationblock/ include/ | +17 | 4 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ming Lei | Christoph Hellwig |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] optimise bvec/bio iteration
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.
Pavel Begunkov (2):
block: optimise for_each_bvec() advance
bio: optimise bvec iteration
block/bio.c | 4 ++-- include/linux/bio.h | 17 +++++++++++++++-- include/linux/bvec.h | 20 +++++++++++++++----- 3 files changed, 32 insertions(+), 9 deletions(-)
Signature · 1 line
2.24.0