On Thu, 6 Oct 2022 02:06:10 +0100, Pavel Begunkov wrote: > io_cqring_wake() needs a barrier for the waitqueue_active() check. > However, in case of io_req_local_work_add() prior it calls llist_add(), > which implies an atomic, and with that we can replace smb_mb() with > smp_mb__after_atomic(). > > Applied, thanks! [1/1] io_uring: optimise mb() in io_req_local_work_add commit: b4f5d4f4e12def53462ea7f35dafa132f2d54156 Best regards, -- Jens Axboe