Patch 1 is a simple fix for using indexes w/o array_index_nospec() protection. Patches 2-5 are fixing a file / buffer table unregistration issue when the ring is configured with DEFER_TASKRUN. The rest are clean ups on top. Pavel Begunkov (10): io_uring/rsrc: use nospec'ed indexes io_uring/rsrc: remove io_rsrc_node::done io_uring/rsrc: refactor io_rsrc_ref_quiesce io_uring/rsrc: use wq for quiescing io_uring/rsrc: fix DEFER_TASKRUN rsrc quiesce io_uring/rsrc: remove rsrc_data refs io_uring/rsrc: inline switch_start fast path io_uring/rsrc: clean up __io_sqe_buffers_update() io_uring/rsrc: simplify single file node switching io_uring/rsrc: refactor io_queue_rsrc_removal include/linux/io_uring_types.h | 2 + io_uring/filetable.c | 11 ++--- io_uring/io_uring.c | 5 +- io_uring/rsrc.c | 90 ++++++++++++++-------------------- io_uring/rsrc.h | 13 +++-- 5 files changed, 53 insertions(+), 68 deletions(-) -- 2.40.0