commit | cf27f3b14961845d816c49abc99aae4863207c77 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Fri Mar 19 17:22:31 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 11 17:41:58 2021 -0600 |
tree | 2684637c6e095c9416d2c0ab2d187ff5ae41b12c | |
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>