]> git.itanic.dy.fi Git - linux-stable/commit
io_uring: break iopolling on signal
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 9 Aug 2023 15:20:21 +0000 (16:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:43:00 +0000 (09:43 +0200)
commit8fa9cb58445d6787e46b53dedcf69a1aef8967bb
tree9d930081a791ea999eda528b1cb078a86fc33a4e
parent4a3e0d51c3e10ef699fc201542593f4bbcd39fd3
io_uring: break iopolling on signal

commit dc314886cb3d0e4ab2858003e8de2917f8a3ccbd upstream.

Don't keep spinning iopoll with a signal set. It'll eventually return
back, e.g. by virtue of need_resched(), but it's not a nice user
experience.

Cc: stable@vger.kernel.org
Fixes: def596e9557c9 ("io_uring: support for IO polling")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/eeba551e82cad12af30c3220125eb6cb244cc94c.1691594339.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
io_uring/io_uring.c