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>
Fri, 22 Nov 2024 18:05:09 +0000 (11:05 -0700)
commite260a7acca0498d19bc8e2c50e90320174a99ef8
tree0ecb3b40e8e6bf65626d447f5b0915d95640df77
parent1b6376e5d0ccdc055387cade7e7206e1cc49b6a9
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