Skip to content
Commit 5f3f26f9 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: fix SQPOLL thread handling over exec



Just like the changes for io-wq, ensure that we re-fork the SQPOLL
thread if the owner execs. Mark the ctx sq thread as sqo_exec if
it dies, and the ring as needing a wakeup which will force the task
to enter the kernel. When it does, setup the new thread and proceed
as usual.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4fb6ac32
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment