diff options
author | 2021-04-30 13:40:48 -0400 | |
---|---|---|
committer | 2021-06-10 11:45:23 -0400 | |
commit | 2495bdcc86dc5e6b71b6785e1faa76452496c687 (patch) | |
tree | a3ae036caa4ad9933c94ce1ba1e80b09cc3694e1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | copy_page_from_iter(): don't need kmap_atomic() for kvec/bvec cases (diff) | |
download | wireguard-linux-2495bdcc86dc5e6b71b6785e1faa76452496c687.tar.xz wireguard-linux-2495bdcc86dc5e6b71b6785e1faa76452496c687.zip |
iov_iter: clean csum_and_copy_...() primitives up a bit
1) kmap_atomic() is not needed here, kmap_local_page() is enough.
2) No need to make sum = csum_block_add(sum, next, off); conditional
upon next != 0 - adding 0 is a no-op as far as csum_block_add()
is concerned.
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