aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJunichi Nomura <[email protected]>2014-10-03 17:27:11 -0400
committerJens Axboe <[email protected]>2014-10-03 15:28:16 -0600
commit11dfce509eaa35e8fc81cb50d0910c0e235fd7e2 (patch)
treead67b4e5266cf3cd9efdc12e3929f9c95f0b82ff /tools/perf/scripts/python/syscall-counts-by-pid.py
parent4a0efdc933680d908de11712a774a2c9492c3d5a (diff)
block: use bio_clone_fast() in blk_rq_prep_clone()
Request cloning clones bios in the request to track the completion of each bio. For that purpose, we can use bio_clone_fast() instead of bio_clone() to avoid unnecessary allocation and copy of bvecs. This patch reduces memory footprint of request-based device-mapper (about 1-4KB for each request) and is a preparation for further reduction of memory usage by removing unused bvec mempool. Signed-off-by: Jun'ichi Nomura <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions