On Thu, 6 Oct 2022 21:42:33 +0100, Pavel Begunkov wrote: > Running local task_work requires taking uring_lock, for submit + wait we > can try to run them right after submit while we still hold the lock and > save one lock/unlokc pair. The optimisation was implemented in the first > local tw patches but got dropped for simplicity. > > Applied, thanks! [1/1] io_uring: optimise locking for local tw with submit_wait commit: a2b61c4d8fcb005007bae5b2f007d43cba89baa1 Best regards, -- Jens Axboe