linux/io_uring
Jens Axboe d9e1cfae8d io_uring: add reschedule point to handle_tw_list()
Commit f586800854 upstream.

If CONFIG_PREEMPT_NONE is set and the task_work chains are long, we
could be running into issues blocking others for too long. Add a
reschedule check in handle_tw_list(), and flush the ctx if we need to
reschedule.

Cc: stable@vger.kernel.org # 5.10+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-07-23 13:47:38 +02:00
..
io_uring.c io_uring: add reschedule point to handle_tw_list() 2023-07-23 13:47:38 +02:00
io-wq.c io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL 2023-01-24 07:22:43 +01:00
io-wq.h io_uring: move to separate directory 2022-12-14 11:37:31 +01:00
Makefile io_uring: move to separate directory 2022-12-14 11:37:31 +01:00