Linus Torvalds
df9c65b5fc
Merge tag 'vfs-6.7.iov_iter' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs
...
Pull iov_iter updates from Christian Brauner:
"This contain's David's iov_iter cleanup work to convert the iov_iter
iteration macros to inline functions:
- Remove last_offset from iov_iter as it was only used by ITER_PIPE
- 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
- Convert iter->user_backed to user_backed_iter() in the sound PCM
driver
- Convert iter->user_backed to user_backed_iter() in a couple of
infiniband drivers
- Renumber the type enum so that the ITER_* constants match the order
in iterate_and_advance*()
- Since the preceding patch puts UBUF and IOVEC at 0 and 1, change
user_backed_iter() to just use the type value and get rid of the
extra flag
- Convert the iov_iter iteration macros to always-inline functions to
make the code easier to follow. It uses function pointers, but they
get optimised away
- Move the check for ->copy_mc to _copy_from_iter() and
copy_page_from_iter_atomic() rather than in memcpy_from_iter_mc()
where it gets repeated for every segment. Instead, we check once
and invoke a side function that can use iterate_bvec() rather than
iterate_and_advance() and supply a different step function
- Move the copy-and-csum code to net/ where it can be in proximity
with the code that uses it
- Fold memcpy_and_csum() in to its two users
- Move csum_and_copy_from_iter_full() out of line and merge in
csum_and_copy_from_iter() since the former is the only caller of
the latter
- Move hash_and_copy_to_iter() to net/ where it can be with its only
caller"
* tag 'vfs-6.7.iov_iter' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs:
iov_iter, net: Move hash_and_copy_to_iter() to net/
iov_iter, net: Merge csum_and_copy_from_iter{,_full}() together
iov_iter, net: Fold in csum_and_memcpy()
iov_iter, net: Move csum_and_copy_to/from_iter() to net/
iov_iter: Don't deal with iter->copy_mc in memcpy_from_iter_mc()
iov_iter: Convert iterate*() to inline funcs
iov_iter: Derive user-backedness from the iterator type
iov_iter: Renumber ITER_* constants
infiniband: Use user_backed_iter() to see if iterator is UBUF/IOVEC
sound: Fix snd_pcm_readv()/writev() to use iov access functions
iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
iov_iter: Remove last_offset from iov_iter as it was for ITER_PIPE
2023-10-30 09:24:21 -10:00
..
2023-09-20 09:39:03 +02:00
2023-08-16 09:14:14 -07:00
2023-07-28 09:45:25 +02:00
2023-09-18 12:04:50 +02:00
2023-08-22 14:13:11 -07:00
2023-08-07 20:55:27 +02:00
2023-07-04 19:42:27 +01:00
2023-09-01 09:53:54 -07:00
2023-08-22 16:32:35 +02:00
2023-03-21 19:25:25 +01:00
2023-09-01 09:53:54 -07:00
2023-08-29 17:45:22 -04:00
2023-09-04 13:47:59 -07:00
2023-08-23 08:25:28 +01:00
2023-08-27 17:08:45 -07:00
2023-08-25 11:45:51 +02:00
2023-10-16 10:47:22 +02:00
2023-10-04 14:12:01 +02:00
2023-08-25 07:42:58 +01:00
2023-08-16 10:54:46 -06:00
2023-09-01 08:09:48 -07:00
2023-05-19 23:23:52 +05:30
2023-09-07 16:07:35 -07:00
2023-07-19 23:15:21 +02:00
2022-10-03 21:52:33 -07:00
2023-08-23 08:21:37 +01:00
2023-09-06 22:53:55 +08:00
2023-08-18 13:58:05 +01:00
2023-08-29 14:53:51 -07:00
2023-08-30 19:53:39 -07:00
2023-09-03 10:20:57 -07:00
2023-08-21 14:29:35 +01:00
2023-09-15 15:50:39 -04:00
2023-09-01 09:23:34 -07:00
2023-08-15 12:50:53 +01:00
2023-10-04 16:31:27 +01:00
2023-09-11 15:24:16 -07:00
2023-08-07 14:55:33 +02:00
2023-08-18 10:18:56 -07:00
2023-08-04 17:35:33 +01:00
2023-09-12 13:07:37 +01:00
2019-05-24 17:27:11 +02:00
2023-08-31 01:29:28 +02:00
2023-08-21 13:38:01 -07:00
2023-08-30 17:35:54 +08:00
2023-08-09 08:21:22 +02:00
2023-07-05 16:36:12 -06:00
2023-08-30 17:35:54 +08:00
2023-10-28 13:29:16 +02:00
2023-07-08 09:29:31 -07:00
2023-07-12 23:45:23 +02:00
2023-07-31 14:44:02 -07:00
2023-08-25 09:23:16 -07:00
2023-09-19 16:41:26 -07:00
2023-07-17 07:39:04 +01:00
2023-09-15 12:08:27 -07:00
2023-09-02 11:10:50 -07:00
2023-09-17 10:33:53 -07:00
2023-08-24 16:20:25 -07:00
2023-08-02 16:27:07 +02:00
2023-10-12 07:22:56 -10:00
2023-08-22 13:51:26 -07:00
2023-08-04 18:18:19 -07:00
2023-08-17 16:46:35 -07:00
2023-08-15 14:57:24 -07:00
2023-07-17 16:08:08 -07:00
2022-02-25 12:16:12 +01:00
2023-07-23 11:34:22 +01:00
2023-07-20 13:06:22 +02:00
2022-06-10 13:37:02 +02:00
2023-07-26 16:46:25 +01:00
2023-08-16 09:41:29 -04:00
2023-07-28 09:53:37 +02:00
2023-10-11 14:27:37 +02:00
2023-08-29 20:51:40 +02:00
2023-09-11 08:39:04 -07:00
2023-07-17 15:47:21 -07:00
2023-08-24 16:25:13 -07:00
2023-07-21 17:30:35 -04:00
2023-08-21 13:37:37 -07:00
2023-08-24 16:20:30 -07:00
2023-08-05 08:31:41 +02:00
2023-10-28 13:29:18 +02:00
2023-09-01 09:43:18 -07:00
2023-07-20 17:25:04 -05:00
2023-08-25 16:07:30 -07:00
2023-10-05 11:05:58 +02:00
2023-07-31 17:54:28 +02:00
2023-08-01 18:02:20 +02:00
2023-08-09 17:46:19 +02:00
2023-07-10 14:36:12 +02:00
2023-08-04 15:28:41 +02:00
2020-08-06 16:13:13 +02:00
2023-08-30 13:34:34 -07:00
2023-08-23 14:17:42 -07:00
2020-06-04 19:06:25 -07:00
2023-07-10 13:59:38 -04:00
2023-09-12 17:42:00 +02:00
2023-07-25 00:59:32 +09:00
2019-10-17 16:44:36 +02:00
2023-07-24 04:39:16 +09:00
2023-09-01 00:29:34 +02:00
2023-10-19 11:02:48 +02:00
2023-07-10 14:36:11 +02:00
2023-08-04 14:38:31 -07:00
2023-07-04 11:02:34 -07:00
2023-10-12 18:53:36 +03:00
2023-07-24 10:30:07 +02:00
2020-07-29 16:14:27 +02:00
2023-10-30 09:14:19 -10:00
2023-08-01 23:46:17 +02:00
2023-10-19 11:03:15 +02:00
2023-08-22 05:20:34 -04:00
2023-07-07 16:53:48 -07:00
2023-08-18 10:18:57 -07:00
2023-08-18 10:18:57 -07:00
2023-08-14 11:23:35 +02:00
2023-08-31 10:38:03 +02:00
2023-08-18 10:12:29 -07:00
2023-07-22 13:59:39 +12:00
2023-08-21 14:28:43 -07:00
2023-10-18 12:12:41 -07:00
2023-08-16 23:54:50 +10:00
2023-09-04 11:26:29 -07:00
2023-07-14 13:11:44 +02:00
2023-09-13 10:48:48 +02:00
2023-07-14 08:27:33 +01:00
2023-10-23 13:25:30 +02:00
2023-08-25 08:08:27 +01:00
2023-09-19 16:28:37 +02:00
2023-08-04 11:02:46 +01:00
2022-07-15 18:55:49 -07:00
2023-09-12 17:50:53 +02:00
2023-07-09 22:47:50 +01:00
2023-08-01 13:45:08 +02:00
2023-07-14 15:24:45 +02:00
2023-08-22 01:11:32 +03:00
2023-09-27 16:54:03 +02:00
2023-08-24 17:16:20 -06:00
2023-08-09 10:46:15 -06:00
2023-08-29 20:21:42 -07:00
2023-09-01 16:54:25 -07:00
2023-07-28 13:31:24 -03:00
2023-08-18 10:12:35 -07:00
2023-09-25 14:30:28 +02:00
2023-09-01 08:11:51 +01:00
2023-07-08 10:07:14 +01:00
2023-08-05 08:18:04 -04:00
2023-07-14 13:47:07 -06:00
2023-10-18 12:12:41 -07:00
2023-07-03 09:27:12 +01:00
2023-08-21 13:46:24 -07:00
2019-12-11 09:12:38 +01:00
2023-08-05 08:31:42 +02:00
2023-08-24 16:25:14 -07:00
2023-08-18 10:12:39 -07:00
2022-02-23 10:58:28 +01:00
2023-08-05 08:31:41 +02:00
2023-08-18 10:12:10 -07:00
2023-08-18 10:18:59 -07:00
2023-08-31 13:48:50 -04:00
2019-08-05 21:52:53 +02:00
2023-08-17 09:00:34 +01:00
2023-09-28 21:23:03 +09:00
2023-08-18 10:19:00 -07:00
2023-08-15 14:57:25 -07:00
2023-08-07 13:05:53 -07:00
2023-08-30 09:07:09 -07:00
2023-07-10 13:59:37 -04:00
2023-09-29 17:20:46 -07:00
2023-07-20 12:24:06 +02:00
2023-08-18 10:18:59 -07:00
2023-10-05 09:50:14 +02:00
2022-10-04 12:06:58 -06:00
2023-07-14 08:51:48 +01:00
2023-08-21 13:37:47 -07:00
2023-09-19 13:21:34 -07:00
2023-08-21 13:37:48 -07:00
2023-08-18 10:12:11 -07:00
2023-08-21 13:37:49 -07:00
2023-08-04 12:09:56 +05:30
2023-09-06 20:49:04 -07:00
2023-08-30 13:45:05 -07:00
2023-07-18 12:10:00 -10:00
2023-08-18 10:12:16 -07:00
2023-08-18 10:12:36 -07:00
2023-08-24 16:20:28 -07:00
2023-08-31 12:20:12 -07:00
2023-07-11 14:12:19 -07:00
2023-08-18 10:12:46 -07:00
2023-06-09 16:25:31 -07:00
2023-08-18 10:12:41 -07:00
2023-08-18 10:12:12 -07:00
2023-07-03 12:56:23 -07:00
2023-07-24 12:09:47 -07:00
2023-08-03 13:42:02 -07:00
2023-09-11 15:05:50 +02:00
2023-10-19 11:02:49 +02:00
2023-08-02 19:11:06 -07:00
2023-08-09 15:32:43 -07:00
2023-08-03 15:34:36 -07:00
2023-07-28 16:52:08 -07:00
2023-07-23 11:34:22 +01:00
2023-09-13 11:51:11 -04:00
2023-09-13 11:51:11 -04:00
2023-07-25 00:30:02 -05:00
2023-08-18 10:19:00 -07:00
2022-10-03 14:03:15 -07:00
2023-08-16 14:27:01 -07:00
2023-08-21 11:29:12 -07:00
2023-09-05 05:34:14 -04:00
2023-07-10 09:12:31 -07:00
2023-08-23 16:34:02 +02:00
2023-04-27 12:07:50 -07:00
2023-08-04 11:36:33 -06:00
2023-09-05 13:02:13 -05:00
2023-09-09 08:18:16 -05:00
2019-06-05 17:30:29 +02:00
2023-08-21 13:37:31 -07:00
2023-08-18 10:12:25 -07:00
2023-08-24 16:20:18 -07:00
2023-08-21 14:28:45 -07:00
2023-08-29 14:25:26 -07:00
2023-08-21 13:07:20 -07:00
2023-07-03 12:46:47 -07:00
2017-11-09 10:23:28 +01:00
2023-09-01 09:38:00 -07:00
2023-08-30 20:23:07 -07:00
2023-08-04 16:21:30 +02:00
2023-08-25 08:06:53 -07:00
2023-07-18 10:07:47 +02:00
2023-10-19 10:09:42 +02:00
2023-09-29 17:20:46 -07:00
2023-08-14 08:12:53 +01:00
2023-08-02 19:11:06 -07:00
2023-09-06 07:46:49 +01:00
2023-08-21 13:37:59 -07:00
2023-10-19 11:02:47 +02:00
2023-10-28 13:29:17 +02:00
2023-07-18 15:19:00 +01:00
2023-07-24 13:27:12 +05:30
2023-08-22 21:31:57 +02:00
2023-07-24 09:51:51 +02:00
2023-08-22 22:03:43 +02:00
2023-08-21 18:58:09 +03:00
2022-07-28 11:29:36 +02:00
2022-12-20 03:13:45 +01:00
2023-08-12 09:18:47 -07:00
2023-08-02 15:01:51 -07:00
2023-07-10 09:52:30 +02:00
2023-07-10 09:52:30 +02:00
2023-07-20 22:14:21 +12:00
2023-08-09 15:59:21 -07:00
2023-07-20 08:50:55 +02:00
2023-10-06 11:01:23 +02:00
2023-10-06 11:01:23 +02:00
2023-08-24 21:34:28 -04:00
2023-08-18 10:19:00 -07:00
2023-07-19 09:43:58 +02:00
2023-08-16 14:27:41 -07:00
2023-07-14 15:01:49 -07:00
2023-07-19 13:19:41 -07:00
2023-07-04 13:50:38 -07:00
2023-07-12 23:45:23 +02:00
2023-07-12 23:45:23 +02:00
2023-07-18 15:05:10 +01:00
2023-07-15 12:56:48 -07:00
2023-09-19 13:21:34 -07:00
2023-07-12 12:01:16 -07:00
2023-09-02 15:17:33 -07:00
2023-07-15 11:34:49 -07:00
2023-08-27 23:50:22 +02:00
2023-08-30 10:08:38 +02:00
2023-08-24 16:20:31 -07:00
2023-08-30 09:07:09 -07:00
2023-08-22 11:10:26 -06:00
2023-07-27 08:48:12 -07:00
2023-09-21 08:37:44 +02:00
2023-08-20 14:29:37 +02:00
2023-08-09 09:15:51 +02:00
2019-05-30 11:26:32 -07:00
2023-10-30 09:24:21 -10:00
2023-08-09 20:29:02 -07:00
2023-07-18 10:07:47 +02:00
2023-07-26 21:24:40 -07:00
2023-08-21 13:46:24 -07:00
2023-07-04 13:50:38 -07:00
2023-08-16 14:27:01 -07:00
2023-08-28 12:55:04 -07:00
2023-07-28 17:05:47 +02:00
2023-08-04 18:21:50 -07:00
2023-07-17 16:08:08 -07:00
2023-10-28 13:29:19 +02:00
2023-08-21 13:37:26 -07:00
2023-08-18 10:12:16 -07:00
2023-09-27 11:19:15 +02:00
2023-08-09 14:16:44 -05:00
2023-08-31 12:20:12 -07:00
2019-06-05 17:37:16 +02:00
2023-08-15 15:26:17 -07:00
2023-07-08 20:26:39 +02:00
2022-09-29 15:20:29 +02:00
2023-07-25 19:21:03 +02:00
2022-04-30 08:39:32 -06:00
2023-07-28 18:04:14 -07:00
2023-08-06 08:24:55 +01:00
2023-09-11 17:16:40 +02:00
2023-06-09 17:44:16 -07:00
2023-08-11 21:12:45 +02:00
2023-08-14 15:00:37 -07:00
2023-08-07 17:55:54 +00:00
2023-09-11 18:22:00 -04:00
2023-07-30 18:13:34 -04:00
2023-08-22 14:58:15 +02:00
2023-08-11 21:12:46 +02:00
2023-08-22 14:58:15 +02:00
2023-08-11 21:12:47 +02:00
2023-08-11 21:12:44 +02:00
2023-08-27 11:47:44 +02:00
2023-10-09 09:35:14 +02:00
2023-08-09 14:17:06 +02:00
2005-04-16 15:20:36 -07:00
2023-08-18 10:12:16 -07:00
2021-03-19 22:23:19 +01:00
2023-09-03 18:10:22 -04:00
2023-08-16 10:52:23 -06:00
2023-08-24 13:27:47 -05:00
2023-10-15 19:59:15 +01:00
2023-09-04 13:44:11 -07:00
2022-08-26 09:30:25 -07:00
2023-07-17 16:08:08 -07:00
2023-10-19 11:02:48 +02:00
2023-08-07 15:57:25 -10:00
2023-08-21 14:52:16 +02:00
2023-09-05 19:01:38 -04:00
2023-08-10 12:06:04 +02:00
2023-08-21 13:37:27 -07:00