Commit 6200b0a
committed
io_uring: don't run task work on an exiting task
This isn't safe, and isn't needed either. We are guaranteed that any
work we queue is on a live task (and will be run), or it goes to
our backup io-wq threads if the task is exiting.
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 87ceb6a commit 6200b0a
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1753 | 1753 | | |
1754 | 1754 | | |
1755 | 1755 | | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
1756 | 1759 | | |
1757 | 1760 | | |
1758 | 1761 | | |
| |||
2012 | 2015 | | |
2013 | 2016 | | |
2014 | 2017 | | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
2015 | 2024 | | |
2016 | 2025 | | |
2017 | 2026 | | |
| |||
8184 | 8193 | | |
8185 | 8194 | | |
8186 | 8195 | | |
| 8196 | + | |
| 8197 | + | |
8187 | 8198 | | |
8188 | 8199 | | |
8189 | 8200 | | |
| |||
0 commit comments