diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-03-19 17:22:31 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-11 17:41:58 -0600 |
commit | cf27f3b14961845d816c49abc99aae4863207c77 (patch) | |
tree | 2684637c6e095c9416d2c0ab2d187ff5ae41b12c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 33f993da9829738da3e088fb5d3128880a4137ba (diff) |
io_uring: optimise tctx node checks/alloc
First of all, w need to set tctx->sqpoll only when we add a new entry
into ->xa, so move it from the hot path. Also extract a hot path for
io_uring_add_task_file() as an inline helper.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
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