Re: [PATCH v7 00/12] iov_iter: Convert the iterator macros into inline funcs

From: Christian Brauner
Date: Mon Sep 25 2023 - 08:34:23 EST


On Mon, 25 Sep 2023 13:02:57 +0100, David Howells wrote:
> Could you take these patches into the block tree or the fs tree? The
> patches convert the iov_iter iteration macros to be inline functions.
>
> (1) Remove last_offset from iov_iter as it was only used by ITER_PIPE.
>
> (2) Add a __user tag on copy_mc_to_user()'s dst argument on x86 to match
> that on powerpc and get rid of a sparse warning.
>
> [...]

I'm giving you vfs.iov_iter as a stable (no rebases) branch so you can
put fixes on top. Please let me know if someone else needs to take this.

---

Applied to the vfs.iov_iter branch of the vfs/vfs.git tree.
Patches in the vfs.iov_iter 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.iov_iter

[01/12] iov_iter: Remove last_offset from iov_iter as it was for ITER_PIPE
https://git.kernel.org/vfs/vfs/c/581beb4fe37d
[02/12] iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
https://git.kernel.org/vfs/vfs/c/066baf92bed9
[03/12] sound: Fix snd_pcm_readv()/writev() to use iov access functions
https://git.kernel.org/vfs/vfs/c/1fcb71282e73
[04/12] infiniband: Use user_backed_iter() to see if iterator is UBUF/IOVEC
https://git.kernel.org/vfs/vfs/c/7ebc540b3524
[05/12] iov_iter: Renumber ITER_* constants
https://git.kernel.org/vfs/vfs/c/7d9e44a6ad8a
[06/12] iov_iter: Derive user-backedness from the iterator type
https://git.kernel.org/vfs/vfs/c/f1b4cb650b9a
[07/12] iov_iter: Convert iterate*() to inline funcs
https://git.kernel.org/vfs/vfs/c/f1982740f5e7
[08/12] iov_iter: Don't deal with iter->copy_mc in memcpy_from_iter_mc()
https://git.kernel.org/vfs/vfs/c/51edcc92222f
[09/12] iov_iter, net: Move csum_and_copy_to/from_iter() to net/
https://git.kernel.org/vfs/vfs/c/ef6fdd780dd4
[10/12] iov_iter, net: Fold in csum_and_memcpy()
https://git.kernel.org/vfs/vfs/c/0837c6c20a4c
[11/12] iov_iter, net: Merge csum_and_copy_from_iter{,_full}() together
https://git.kernel.org/vfs/vfs/c/921203282d82
[12/12] iov_iter, net: Move hash_and_copy_to_iter() to net/
https://git.kernel.org/vfs/vfs/c/d7a22f309096