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

io_uring: ensure io_queue_deferred() is out-of-line



This is not the hot path, it's a slow path. Yet the locking for it is
in the hot path, and __cold does not prevent it from being inlined.

Move the locking to the function itself, and mark it noinline as well
to avoid it polluting the icache of the hot path.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c5f71916
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment