Skip to content
Snippets Groups Projects
Commit f5868008 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: add reschedule point to handle_tw_list()


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: default avatarJens Axboe <axboe@kernel.dk>
parent fcc926bb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment