diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-09-19 09:48:55 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-19 09:49:26 -0600 |
commit | 9831a90ce64362f8429e8fd23838a9db2cdf7803 (patch) | |
tree | 3a5155b8748a40c289426b56b04d36fe8b0b379d /include/uapi | |
parent | a1041c27b64ce744632147e19701c95fed14fab1 (diff) | |
download | talos-op-linux-9831a90ce64362f8429e8fd23838a9db2cdf7803.tar.gz talos-op-linux-9831a90ce64362f8429e8fd23838a9db2cdf7803.zip |
io_uring: use cond_resched() in sqthread
If preempt isn't enabled in the kernel, we can run into hang issues with
sqthread submissions. Use cond_resched() to play nice instead of
cpu_relax(), if we end up starting the loop and not having any events
pending for submissions.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions