]> 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)
commit6d06f494ec6a5b7fc86bb41a09dd918a456abb71
tree030f91c1bd13d622e75f8b0f7b58bc141aeb15c5
parentc61e482f95fe8ea1dcfc63057e4500006c4b566b
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