io_uring: switch non-defer task_work to io_wq_work_list
authorJens Axboe <axboe@kernel.dk>
Fri, 22 Nov 2024 14:50:18 +0000 (07:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 17 Jun 2025 11:49:33 +0000 (05:49 -0600)
commita892d8f676c5771506f7d13c96ead197a4930fd1
treec3840658ac653986fff2b0f669f60921e22cb6fc
parent6e353f5918ea32f8c5719096de064efa5858e5c9
io_uring: switch non-defer task_work to io_wq_work_list

Switch the normal task_work to io_wq_work_list as well, to both unify
with defer task_work, but also to avoid needing to reverse the ordering
of the list when running it.

Note that this still keeps the manual retry list for SQPOLL task_work.
That could go away as well, as now the task_work list is fully ordered
and SQPOLL could just leave entries on there when it chops up the
running of the list.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/sqpoll.c
io_uring/tctx.c