]> www.infradead.org Git - users/dwmw2/linux.git/commit
io_uring: mark the need to lock/unlock the ring as unlikely
authorJens Axboe <axboe@kernel.dk>
Mon, 29 Jan 2024 03:32:52 +0000 (20:32 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Feb 2024 20:27:06 +0000 (13:27 -0700)
commitbfe30bfde279529011161a60e5a7ca4be83de422
tree3318cc8e8c4506d5cfd05d227259072365288b85
parent95041b93e90a06bb613ec4bef9cd4d61570f68e4
io_uring: mark the need to lock/unlock the ring as unlikely

Any of the fast paths will already have this locked, this helper only
exists to deal with io-wq invoking request issue where we do not have
the ctx->uring_lock held already. This means that any common or fast
path will already have this locked, mark it as such.

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