io_uring: keep unlock_post inlined in hot path
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 24 Nov 2022 19:46:41 +0000 (19:46 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 25 Nov 2022 13:11:15 +0000 (06:11 -0700)
commit5d772916855f593672de55c437925daccc8ecd73
treebfa966bcd5a1eb5592e97c351cd509888dcf80d0
parentc3b490930dbe6a6c98d3820f445757ddec1efb08
io_uring: keep unlock_post inlined in hot path

This partially reverts

6c16fe3c16bdc ("io_uring: kill io_cqring_ev_posted() and __io_cq_unlock_post()")

The redundancy of __io_cq_unlock_post() was always to keep it inlined
into __io_submit_flush_completions(). Inline it back and rename with
hope of clarifying the intention behind it.

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