diff options
| author | Jens Axboe <[email protected]> | 2023-01-08 17:39:17 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-01-08 17:39:17 +0000 |
| commit | e6db6f9398dadcbc06318a133d4c44a2d3844e61 (patch) | |
| tree | bc380bbae611939e1bbf90b54265b807bd76ab84 /rust/helpers.c | |
| parent | io_uring: fix CQ waiting timeout handling (diff) | |
| download | kernel-e6db6f9398dadcbc06318a133d4c44a2d3844e61.tar.gz kernel-e6db6f9398dadcbc06318a133d4c44a2d3844e61.zip | |
io_uring/io-wq: only free worker if it was allocated for creation
We have two types of task_work based creation, one is using an existing
worker to setup a new one (eg when going to sleep and we have no free
workers), and the other is allocating a new worker. Only the latter
should be freed when we cancel task_work creation for a new worker.
Fixes: af82425c6a2d ("io_uring/io-wq: free worker if task_work creation is canceled")
Reported-by: [email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
