]> www.infradead.org Git - users/dwmw2/linux.git/commit
io_uring: signal SQPOLL task_work with TWA_SIGNAL_NO_IPI
authorJens Axboe <axboe@kernel.dk>
Tue, 25 Jun 2024 01:07:18 +0000 (19:07 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 25 Jun 2024 01:46:15 +0000 (19:46 -0600)
commitdbcabac138fdfc730ba458ed2199ff1f29a271fc
tree96f2bf8ba6c6048489440d529fee6f6aa2d370bb
parent26b97668e5339434e5df8ddc7b1898a37a350112
io_uring: signal SQPOLL task_work with TWA_SIGNAL_NO_IPI

Before SQPOLL was transitioned to managing its own task_work, the core
used TWA_SIGNAL_NO_IPI to ensure that task_work was processed. If not,
we can't be sure that all task_work is processed at SQPOLL thread exit
time.

Fixes: af5d68f8892f ("io_uring/sqpoll: manage task_work privately")
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c