• Jens Axboe's avatar
    io_uring: fix SQPOLL thread handling over exec · 5f3f26f9
    Jens Axboe authored
    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>
    5f3f26f9
io_uring.c 240 KB