summaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-01-04 12:21:08 -0700
committerJens Axboe <axboe@kernel.dk>2024-01-04 12:21:08 -0700
commit6ff1407e24e6fdfa4a16ba9ba551e3d253a26391 (patch)
tree5a905e6c11599e8b25b5fd25d86f359fc7907f32 /net/unix
parentd293b1a89694fc4918d9a4330a71ba2458f9d581 (diff)
downloadlinux-6ff1407e24e6fdfa4a16ba9ba551e3d253a26391.tar.gz
linux-6ff1407e24e6fdfa4a16ba9ba551e3d253a26391.tar.bz2
linux-6ff1407e24e6fdfa4a16ba9ba551e3d253a26391.zip
io_uring: ensure local task_work is run on wait timeout
A previous commit added an earlier break condition here, which is fine if we're using non-local task_work as it'll be run on return to userspace. However, if DEFER_TASKRUN is used, then we could be leaving local task_work that is ready to process in the ctx list until next time that we enter the kernel to wait for events. Move the break condition to _after_ we have run task_work. Cc: stable@vger.kernel.org Fixes: 846072f16eed ("io_uring: mimimise io_cqring_wait_schedule") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions