diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-05-21 12:31:12 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-05-21 13:41:14 -0600 |
commit | d13ddd9c893f0e8498526bf88c6b5fad01f0edd8 (patch) | |
tree | c07343b3fc397338045c3726e91b396f466e2174 /lib/ubsan.c | |
parent | b9dd56e813af002f45f6a494414d4a05dfdaa30e (diff) | |
download | linux-stable-d13ddd9c893f0e8498526bf88c6b5fad01f0edd8.tar.gz linux-stable-d13ddd9c893f0e8498526bf88c6b5fad01f0edd8.tar.bz2 linux-stable-d13ddd9c893f0e8498526bf88c6b5fad01f0edd8.zip |
io_uring/sqpoll: ensure that normal task_work is also run timely
With the move to private task_work, SQPOLL neglected to also run the
normal task_work, if any is pending. This will eventually get run, but
we should run it with the private task_work to ensure that things like
a final fput() is processed in a timely fashion.
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/all/313824bc-799d-414f-96b7-e6de57c7e21d@gmail.com/
Reported-by: Andrew Udvare <audvare@gmail.com>
Fixes: af5d68f8892f ("io_uring/sqpoll: manage task_work privately")
Tested-by: Christian Heusel <christian@heusel.eu>
Tested-by: Andrew Udvare <audvare@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/ubsan.c')
0 files changed, 0 insertions, 0 deletions