io_uring: refactor io_cqring_wake()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 6 Apr 2023 13:20:09 +0000 (14:20 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Apr 2023 22:23:28 +0000 (16:23 -0600)
commit6e7248adf8f7adb5e36ec1e91efcc85a83bf8aeb
tree28aa43b9359268cb4c8994f4044e4aeb7184790f
parentd73a572df24661851465c821d33c03e70e4b68e5
io_uring: refactor io_cqring_wake()

Instead of smp_mb() + __io_cqring_wake() in __io_cq_unlock_post_flush()
use equivalent io_cqring_wake(). With that we can clean it up further
and remove __io_cqring_wake().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/662ee5d898168ac206be06038525e97b64072a46.1680782017.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/io_uring.h