diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-02-14 23:57:20 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-02-14 23:57:20 +0300 |
commit | c8d8fc3b2d9d4c81e3d3b23eca504ad713a91219 (patch) | |
tree | 4368511c51e0497144b4d436e3d3a5023a7d8c6e /.rustfmt.toml | |
parent | 78f9b61bd8e5466f0e90823e64e3d87c41f6258c (diff) | |
download | linux-c8d8fc3b2d9d4c81e3d3b23eca504ad713a91219.tar.xz |
io_uring/sqpoll: use the correct check for pending task_work
A previous commit moved to using just the private task_work list for
SQPOLL, but it neglected to update the check for whether we have
pending task_work. Normally this is fine as we'll attempt to run it
unconditionally, but if we race with going to sleep AND task_work
being added, then we certainly need the right check here.
Fixes: af5d68f8892f ("io_uring/sqpoll: manage task_work privately")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions