[PATCH for-5.16 v4 0/6] task work optimization

Hao Xu
2021-10-29T12:22:50Z

v3->v4
- remove 8/8 in v3
- remove nr_ctx
- insert a TW to the priority tw list only in sqpoll mode
- optimise the priority tw list handling logic to be compatible for
multiple ctx case

Hao Xu (6):
io-wq: add helper to merge two wq_lists
io_uring: add a priority tw list for irq completion work
io_uring: add helper for task work execution code
io_uring: split io_req_complete_post() and add a helper
io_uring: move up io_put_kbuf() and io_put_rw_kbuf()
io_uring: batch completion in prior_task_list

fs/io-wq.h | 21 +++++++
fs/io_uring.c | 160 ++++++++++++++++++++++++++++++++++----------------
2 files changed, 130 insertions(+), 51 deletions(-)

--
2.24.4