diff options
author | 2021-04-25 23:57:42 -0400 | |
---|---|---|
committer | 2021-06-10 11:45:16 -0400 | |
commit | 5c67aa90cd5c59912ee71cff879e8f1ab237ad88 (patch) | |
tree | 35bd0d1b879a3ee9113372a5397143ab82209a25 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iov_iter: massage iterate_iovec and iterate_kvec to logics similar to iterate_bvec (diff) | |
download | linux-dev-5c67aa90cd5c59912ee71cff879e8f1ab237ad88.tar.xz linux-dev-5c67aa90cd5c59912ee71cff879e8f1ab237ad88.zip |
iov_iter: unify iterate_iovec and iterate_kvec
The differences between iterate_iovec and iterate_kvec are minor:
* kvec callback is treated as if it returned 0
* initialization of __p is with i->iov and i->kvec resp.
which is trivially dealt with.
No code generation changes - compiler is quite capable of turning
left = ((void)(STEP), 0);
__v.iov_len -= left;
(with no accesses to left downstream) and
(void)(STEP);
into the same code.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions