On Wed, 04 Jan 2023 01:34:02 +0000, Pavel Begunkov wrote: > Unlike normal tw, nothing prevents deferred tw to be executed right > after an tw item added to ->work_llist in io_req_local_work_add(). For > instance, the waiting task may get waken up by CQ posting or a normal > tw. Thus we need to pin the ring for the rest of io_req_local_work_add() > > Applied, thanks! [1/1] io_uring: pin context while queueing deferred tw (no commit info) Best regards, -- Jens Axboe