diff options
author | 2023-03-24 14:37:19 -0600 | |
---|---|---|
committer | 2023-03-30 08:12:29 -0600 | |
commit | 3b2deb0e46da9798b694cf50bd8bea1b26dcc789 (patch) | |
tree | 9674a8f8ad1ae25466700d45580d1f2562926716 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | iov_iter: convert import_single_range() to ITER_UBUF (diff) | |
download | wireguard-linux-3b2deb0e46da9798b694cf50bd8bea1b26dcc789.tar.xz wireguard-linux-3b2deb0e46da9798b694cf50bd8bea1b26dcc789.zip |
iov_iter: import single vector iovecs as ITER_UBUF
Add a special case to __import_iovec(), which imports a single segment
iovec as an ITER_UBUF rather than an ITER_IOVEC. ITER_UBUF is cheaper
to iterate than ITER_IOVEC, and for a single segment iovec, there's no
point in using a segmented iterator.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions