Skip to content
Commit bfe30bfd authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <axboe@kernel.dk>
parent 95041b93
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment