aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-04-25 09:14:44 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2021-06-10 11:45:12 -0400
commit3d671ca62a08114810321a2a5e9d3523de5fb1b4 (patch)
tree03e5c3d01736827a05559847bffdf7bee018b250 /tools/perf/scripts/python/export-to-postgresql.py
parent610c7a71543df32fcecf64004f974905f5881fb3 (diff)
get rid of iterate_all_kinds() in iov_iter_get_pages()/iov_iter_get_pages_alloc()
Here iterate_all_kinds() is used just to find the first (non-empty, in case of iovec) segment. Which can be easily done explicitly. Note that in bvec case we now can get more than PAGE_SIZE worth of them, in case when we have a compound page in bvec and a range that crosses a subpage boundary. Older behaviour had been to stop on that boundary; we used to get the right first page (for_each_bvec() took care of that), but that was all we'd got. 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