commit | 5f3f26f98ae484a3e187411f9ea8c88c00a65ffc | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Feb 25 10:17:46 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 25 10:17:46 2021 -0700 |
tree | c59b47f09b3733be15220c701bbf8ea08d138854 | |
parent | 4fb6ac326204b3ab81e6e7a914ccd44d957c1d2c [diff] |
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: Jens Axboe <axboe@kernel.dk>