On Thu, 07 Mar 2024 18:06:32 +0000, Pavel Begunkov wrote: > With multiple poll entries __io_queue_proc() might be running in > parallel with poll handlers and possibly task_work, we should not be > carelessly modifying req->flags there. io_poll_double_prepare() handles > a similar case with locking but it's much easier to move it into > __io_arm_poll_handler(). > > > [...] Applied, thanks! [1/1] io_uring: fix io_queue_proc modifying req->flags commit: 1a8ec63b2b6c91caec87d4e132b1f71b5df342be Best regards, -- Jens Axboe