aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-01-18 16:16:30 +0100
committerJens Axboe <axboe@fb.com>2015-02-05 09:30:39 -0700
commit1dfa0f68c040080c5fefa7211b4ec34d202f8570 (patch)
tree572a04efee9750a118a43579fef0381dd9997461 /tools/perf/scripts/python/export-to-postgresql.py
parentblock: use blk_rq_map_user_iov to implement blk_rq_map_user (diff)
downloadwireguard-linux-1dfa0f68c040080c5fefa7211b4ec34d202f8570.tar.xz
wireguard-linux-1dfa0f68c040080c5fefa7211b4ec34d202f8570.zip
block: add a helper to free bio bounce buffer pages
The code sniplet to walk all bio_vecs and free their pages is opencoded in way to many places, so factor it into a helper. Also convert the slightly more complex cases in bio_kern_endio and __bio_copy_iov where we break the freeing from an existing loop into a separate one. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions