1-7 are random patches. 8-12 are optimisations for running req-backed task works. For task_work and/or linking heavy use cases, also should make io_req_task_work_add() called from inside of tctx_task_work() much lighter. Pavel Begunkov (12): io_uring: fix false WARN_ONCE io_uring: refactor io_submit_flush_completions() io_uring: move creds from io-wq work to io_kiocb io_uring: track request creds with a flag io_uring: simplify iovec freeing in io_clean_op() io_uring: clean all flags in io_clean_op() at once io_uring: refactor io_get_sequence() io_uring: inline __tctx_task_work() io_uring: optimise task_work submit flushing io_uring: refactor tctx task_work list splicing io_uring: don't resched with empty task_list io_uring: improve in tctx_task_work() resubmission fs/io-wq.c | 5 +- fs/io-wq.h | 1 - fs/io_uring.c | 134 +++++++++++++++++++++++++------------------------- 3 files changed, 71 insertions(+), 69 deletions(-) -- 2.31.1