diff options
| author | Jens Axboe <axboe@kernel.dk> | 2020-10-07 12:48:53 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-10-07 12:55:42 -0600 |
| commit | faf7b51c06973f947776af6c8f8a513475a2bfa1 (patch) | |
| tree | 3953847c6a16afc19872e9b3f94be0a78a3e164a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | io_uring: kill callback_head argument for io_req_task_work_add() (diff) | |
| download | linux-faf7b51c06973f947776af6c8f8a513475a2bfa1.tar.gz linux-faf7b51c06973f947776af6c8f8a513475a2bfa1.zip | |
io_uring: batch account ->req_issue and task struct references
Identical to how we handle the ctx reference counts, increase by the
batch we're expecting to submit, and handle any slow path residual,
if any. The request alloc-and-issue path is very hot, and this makes
a noticeable difference by avoiding an two atomic incs for each
individual request.
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
