Home
last modified time | relevance | path

Searched hist:"7 cfe7a09" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/io_uring/
H A Dio_uring.h7cfe7a09 Fri Nov 25 10:36:29 CST 2022 Jens Axboe <axboe@kernel.dk> io_uring: clear TIF_NOTIFY_SIGNAL if set and task_work not available

With how task_work is added and signaled, we can have TIF_NOTIFY_SIGNAL
set and no task_work pending as it got run in a previous loop. Treat
TIF_NOTIFY_SIGNAL like get_signal(), always clear it if set regardless
of whether or not task_work is pending to run.

Cc: stable@vger.kernel.org
Fixes: 46a525e199e4 ("io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL")
Signed-off-by: Jens Axboe <axboe@kernel.dk>