]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: move SQPOLL post-wakeup ring need wakeup flag into wake handler
authorJens Axboe <axboe@kernel.dk>
Wed, 2 Sep 2020 18:42:47 +0000 (12:42 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:32:33 +0000 (20:32 -0600)
commit2d517c79af4ac5386c10933e795b1e92d2045fd0
treeec5ff98414c26862be0aba07a25d389f4c00fcd9
parentf574fb6f9d1e3f2ce8fb047243013544f19c6fee
io_uring: move SQPOLL post-wakeup ring need wakeup flag into wake handler

We need to decouple the clearing on wakeup from the the inline schedule,
as that is going to be required for handling multiple rings in one
thread.

Wrap our wakeup handler so we can clear it when we get the wakeup, by
definition that is when we no longer need the flag set.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c