]> 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)
commitcfbadacc55e6c06205f88f41da95f9a26aacda24
treeec5ff98414c26862be0aba07a25d389f4c00fcd9
parentd7155c3ab8a4f7afc121cc5a46665499e2167430
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