diff options
author | 2022-06-16 10:22:07 +0100 | |
---|---|---|
committer | 2022-07-24 18:39:13 -0600 | |
commit | 0ec6dca223195aca2f7df6e432c4205b5f63305b (patch) | |
tree | 5bbcf70bd31c60b87a35e87392d5ab57170c814c /io_uring/timeout.c | |
parent | io_uring: clean up io_ring_ctx_alloc (diff) | |
download | wireguard-linux-0ec6dca223195aca2f7df6e432c4205b5f63305b.tar.xz wireguard-linux-0ec6dca223195aca2f7df6e432c4205b5f63305b.zip |
io_uring: use state completion infra for poll reqs
Use io_req_task_complete() for poll request completions, so it can
utilise state completions and save lots of unnecessary locking.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/ced94cb5a728d8e386c640d052fd3da3f5d6891a.1655371007.git.asml.silence@gmail.com
Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/timeout.c')
0 files changed, 0 insertions, 0 deletions