On 1/2/21 9:06 AM, Pavel Begunkov wrote: > IOPOLL skips completion locking but keeps it under uring_lock, thus > io_cqring_overflow_flush() and so io_cqring_events() need extra care. > Add extra conditional locking around them. This one is pretty ugly. Would be greatly preferable to grab the lock higher up instead of passing down the need to do so, imho. -- Jens Axboe