Files
linux/io_uring
Jens Axboe de7341ffe4 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>
2026-06-13 06:27:11 -06:00
..
2025-01-28 15:10:40 -07:00
2026-01-05 17:08:20 -07:00
2026-01-13 15:18:07 -05:00
2024-02-09 09:04:39 -07:00