]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: don't run task work on an exiting task
authorJens Axboe <axboe@kernel.dk>
Sun, 13 Sep 2020 20:38:30 +0000 (14:38 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Sep 2020 16:22:15 +0000 (10:22 -0600)
commitfe9ec5214648b8a9acbf902fc71250df79f775dc
tree030f91c1bd13d622e75f8b0f7b58bc141aeb15c5
parent15e0e8f21220a1f680592229c1bde98e0d0d6b52
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>
fs/io_uring.c