Skip to content

batch completion + freeing improvements

Pavel Begunkov io-uring lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5io_uring: move io_req_complete() definitionfs/io_uring.c+48 -480 replies
2/5io_uring: replace list with array for compl batchfs/io_uring.c+13 -200 replies
3/5io_uring: batch free in batched completionfs/io_uring.c+8 -20 replies
4/5tasks: add put_task_struct_many()include/linux/sched/task.h+6 -00 replies
5/5io_uring: batch put_task_struct()fs/io_uring.c+26 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] batch completion + freeing improvements

Different batching improvements, that's it.

Unfortunately, I don't have a decent SSD/setup at hand to benchmark it properly.

p.s. if extra 32 pointers on stack would be a problem, I wanted for long to put submit_state into ctx itself.

Pavel Begunkov (5):
io_uring: move io_req_complete() definition
io_uring: replace list with array for compl batch
io_uring: batch free in batched completion
tasks: add put_task_struct_many()
io_uring: batch put_task_struct()

 fs/io_uring.c              | 129 ++++++++++++++++++++++---------------
 include/linux/sched/task.h |   6 ++
 2 files changed, 82 insertions(+), 53 deletions(-)
Signature · 1 line
2.24.0