On 4/10/21 6:46 PM, Pavel Begunkov wrote: > 1-3: task vs files cancellation unification, sheds some lines > 8-9: inlines fill_event(), gives some performance > 10-13: more of registered buffer / resource preparation patches > others are just separate not connected cleanups/improvements > > Pavel Begunkov (16): > io_uring: unify task and files cancel loops > io_uring: track inflight requests through counter > io_uring: unify files and task cancel > io_uring: refactor io_close > io_uring: enable inline completion for more cases > io_uring: refactor compat_msghdr import > io_uring: optimise non-eventfd post-event > io_uring: always pass cflags into fill_event() > io_uring: optimise fill_event() by inlining > io_uring: simplify io_rsrc_data refcounting > io_uring: add buffer unmap helper > io_uring: cleanup buffer register > io_uring: split file table from rsrc nodes > io_uring: improve sqo stop > io_uring: improve hardlink code generation > io_uring: return back safer resurrect > > fs/io_uring.c | 386 ++++++++++++++++----------------------- > include/linux/io_uring.h | 12 +- > 2 files changed, 163 insertions(+), 235 deletions(-) Look good to me, and some nice cleanups. Would be nice to get the mostly two-sided cancelations down to one single thing at some point. -- Jens Axboe