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

io_uring: avoid indirect function calls for the hottest task_work



We use task_work for a variety of reasons, but doing completions or
triggering rety after poll are by far the hottest two. Use the indirect
funtion call wrappers to avoid the indirect function call if
CONFIG_RETPOLINE is set.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f026be0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment