aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-04-30 13:40:48 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2021-06-10 11:45:23 -0400
commit2495bdcc86dc5e6b71b6785e1faa76452496c687 (patch)
treea3ae036caa4ad9933c94ce1ba1e80b09cc3694e1 /tools/perf/scripts/python/export-to-postgresql.py
parentcopy_page_from_iter(): don't need kmap_atomic() for kvec/bvec cases (diff)
downloadlinux-dev-2495bdcc86dc5e6b71b6785e1faa76452496c687.tar.xz
linux-dev-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