diff options
author | 2024-05-23 17:45:35 -0400 | |
---|---|---|
committer | 2024-06-16 14:54:55 -0600 | |
commit | f4eaf8eda89e1ae5d8274297094687245293deff (patch) | |
tree | bbcce9593a693a3ad202e3c6c7d5ec363a890bae /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: Drop per-ctx dummy_ubuf (diff) | |
download | wireguard-linux-f4eaf8eda89e1ae5d8274297094687245293deff.tar.xz wireguard-linux-f4eaf8eda89e1ae5d8274297094687245293deff.zip |
io_uring/rsrc: Drop io_copy_iov in favor of iovec API
Instead of open coding an io_uring function to copy iovs from userspace,
rely on the existing iovec_from_user function. While there, avoid
repeatedly zeroing the iov in the !arg case for io_sqe_buffer_register.
tested with liburing testsuite.
Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20240523214535.31890-1-krisman@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions