running task_work may not be a big bottleneck now, but it's never worse to make it move forward a little bit. I'm trying to construct tests to prove it is better in some cases where it should be theoretically. Currently only prove it is not worse by running fio tests(sometimes a little bit better). So just put it here for comments and suggestion. Hao Xu (2): io_uring: run task_work when sqthread is waken up io_uring: add irq completion work to the head of task_list fs/io-wq.h | 9 +++++++++ fs/io_uring.c | 23 ++++++++++++++--------- 2 files changed, 23 insertions(+), 9 deletions(-) -- 2.24.4