commit | 2215bed9246dbb95df50fcef788b0765c7c2aac0 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Aug 09 13:04:06 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Aug 23 13:07:56 2021 -0600 |
tree | dc9fc084b5c9360985f9f3506af9a90fea42bd83 | |
parent | ebc11b6c6b87da5c83b4d934893a893f49160bc3 [diff] |
io_uring: remove unnecessary PF_EXITING check We prefer nornal task_works even if it would fail requests inside. Kill a PF_EXITING check in io_req_task_work_add(), task_work_add() handles well dying tasks, i.e. return error when can't enqueue due to late stages of do_exit(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/fc14297e8441cd8f5d1743a2488cf0df09bf48ac.1628471125.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>