commit | 6a0af224c21309f24dbb1b79d0744b255d7156a0 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Oct 13 09:43:58 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Oct 17 09:25:42 2020 -0600 |
tree | ab03a941f52e2531908879bb2db92c789f6f5696 | |
parent | b1b74cfc1967bd0747ff85f650f598e84eeb3d1c [diff] |
io_uring: don't put a poll req under spinlock Move io_put_req() in io_poll_task_handler() from under spinlock. This eliminates the need to use REQ_F_COMP_LOCKED, at the expense of potentially having to grab the lock again. That's still a better trade off than relying on the locked flag. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>