diff options
author | 2021-08-11 09:20:04 -0600 | |
---|---|---|
committer | 2021-08-23 13:44:02 -0600 | |
commit | da521626ac620d8719d674a48b8ec3620eefd42a (patch) | |
tree | 6ca053daded37aa4db152ca4e221de9db725e303 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: optimise hot path of ltimeout prep (diff) | |
download | linux-dev-da521626ac620d8719d674a48b8ec3620eefd42a.tar.xz linux-dev-da521626ac620d8719d674a48b8ec3620eefd42a.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions