diff options
author | 2021-04-25 23:46:09 -0400 | |
---|---|---|
committer | 2021-06-10 11:45:16 -0400 | |
commit | 7a1bcb5d255d4fd8b9725c3cf7ee0880a6369d2f (patch) | |
tree | 61043b81e93a2e718ee69302688d2e122133dff5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iterate_and_advance(): get rid of magic in case when n is 0 (diff) | |
download | linux-dev-7a1bcb5d255d4fd8b9725c3cf7ee0880a6369d2f.tar.xz linux-dev-7a1bcb5d255d4fd8b9725c3cf7ee0880a6369d2f.zip |
iov_iter: massage iterate_iovec and iterate_kvec to logics similar to iterate_bvec
Premature optimization is the root of all evil... Trying
to unroll the first pass through the loop makes it harder
to follow and not just for readers - compiler ends up
generating worse code than it would on a "non-optimized"
loop.
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