Re: [PATCH v2] iov_iter: streamline iovec/bvec alignment iteration

From: Christian Brauner
Date: Thu Jan 25 2024 - 11:24:38 EST


On Tue, 23 Jan 2024 15:24:46 -0700, Jens Axboe wrote:
> Rewrite the alignment checking iterators for iovec and bvec to be easier
> to read, and also significantly more compact in terms of generated code.
> This saves 270 bytes of text on x86-64 for me (with clang-18) and 224
> bytes on arm64 (with gcc-13).
>
> In profiles, also saves a bit of time as well for the same workload:
>
> [...]

Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc

[1/1] iov_iter: streamline iovec/bvec alignment iteration
https://git.kernel.org/vfs/vfs/c/89d0b83ecf39