diff options
| author | Christoph Hellwig <[email protected]> | 2021-01-09 16:03:00 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-01-25 08:58:24 -0700 |
| commit | ecd7fba0ade1d6d8d49d320df9caf96922a376b2 (patch) | |
| tree | 65ebec32ebd4f1472a2d3ded3de72dc7610dd86b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 0cf41e5e9bafc185490624c3e321c915885a91f3 (diff) | |
target/file: allocate the bvec array as part of struct target_core_file_cmd
This saves one memory allocation, and ensures the bvecs aren't freed
before the AIO completion. This will allow the lower level code to be
optimized so that it can avoid allocating another bvec array.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions