diff options
author | 2020-04-08 22:29:58 +0800 | |
---|---|---|
committer | 2020-04-08 09:23:42 -0600 | |
commit | 45097daea2f4e89bdb1c98359f78d0d6feb8e5c8 (patch) | |
tree | 97a91059f9973494c0a08c2e3923ffe69dff336e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: ensure openat sets O_LARGEFILE if needed (diff) | |
download | wireguard-linux-45097daea2f4e89bdb1c98359f78d0d6feb8e5c8.tar.xz wireguard-linux-45097daea2f4e89bdb1c98359f78d0d6feb8e5c8.zip |
io_uring: do not always copy iovec in io_req_map_rw()
In io_read_prep() or io_write_prep(), io_req_map_rw() takes
struct io_async_rw's fast_iov as argument to call io_import_iovec(),
and if io_import_iovec() uses struct io_async_rw's fast_iov as
valid iovec array, later indeed io_req_map_rw() does not need
to do the memcpy operation, because they are same pointers.
Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
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