aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-08-11 09:20:04 -0600
committerJens Axboe <axboe@kernel.dk>2021-08-23 13:44:02 -0600
commitda521626ac620d8719d674a48b8ec3620eefd42a (patch)
tree6ca053daded37aa4db152ca4e221de9db725e303 /tools/perf/scripts/python/syscall-counts.py
parentfd08e5309bba8672c1190362dff6c92bfd59218d (diff)
bio: optimize initialization of a bio
The memset() used is measurably slower in targeted benchmarks, wasting about 1% of the total runtime, or 50% of the (later) hot path cached bio alloc. Get rid of it and fill in the bio manually. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions