diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-06-11 10:13:22 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-06-13 06:27:11 -0600 |
| commit | de7341ffe49ed30a1d75b254ac8c731b057247bf (patch) | |
| tree | b619dd9a1e974e209ba9b6db7368d64e10597cc2 /include/linux/timerqueue.h | |
| parent | d46ab2c98ababa19b41a5709b6921d7b1add7f74 (diff) | |
io_uring: switch normal task_work to a mpscq
Like the local task_work list, the normal (tctx) task_work list is an
llist, and hence needs the O(n) llist_reverse_order() pass before
running entries in queue order. On top of that, capped runs - sqpoll
processing IORING_TW_CAP_ENTRIES_VALUE entries at a time - need the
claimed-but-unprocessed leftovers carried in a separate retry_list,
as they can't be pushed back to the shared list.
Switch tctx->task_list to a mpscq, like what was done for the
DEFER_TASKRUN paths as well.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
