Hi, One patch tweaks when we think we have task_work pending to be more inclusive rather than gate on TIF_NOTIFY_SIGNAL, patch two ensures we don't do extra loops io_cqring_wait() - and just as importantly, that the expected run path for task_work will not have the task itself adding to the ctx->cq_wait waitqueue. -- Jens Axboe