summaryrefslogtreecommitdiff
path: root/samples/rust
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-01-27 19:50:31 +0300
committerJens Axboe <axboe@kernel.dk>2023-01-30 01:17:41 +0300
commitf58680085478dd292435727210122960d38e8014 (patch)
tree0df3ac9140ae15f514a0d775484243c26b1ae098 /samples/rust
parentfcc926bb857949dbfa51a7d95f3f5ebc657f198c (diff)
downloadlinux-f58680085478dd292435727210122960d38e8014.tar.xz
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: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'samples/rust')
0 files changed, 0 insertions, 0 deletions