diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-08-11 09:20:04 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-23 13:44:02 -0600 |
commit | da521626ac620d8719d674a48b8ec3620eefd42a (patch) | |
tree | 6ca053daded37aa4db152ca4e221de9db725e303 /tools/perf/scripts/python/syscall-counts.py | |
parent | fd08e5309bba8672c1190362dff6c92bfd59218d (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