diff options
author | Jens Axboe <[email protected]> | 2021-08-11 09:20:04 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-08-23 13:44:02 -0600 |
commit | da521626ac620d8719d674a48b8ec3620eefd42a (patch) | |
tree | 6ca053daded37aa4db152ca4e221de9db725e303 /tools/perf/util/trace-event-scripting.c | |
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions