summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2026-09-09 13:22:28 -0600
committerJens Axboe <axboe@kernel.dk>2026-09-28 11:47:22 -0600
commitecc4c37627d043ab0925f4827e95b6f77b54c453 (patch)
tree5ce309910aa0d8b855bc84d3d8fd1e1902125a13 /rust/kernel/alloc
parent5530a5102e3cc88f5dba2a0bb6c76671c19616d4 (diff)
io_uring/rw: don't reap io-wq IOPOLL completions while io-wq has a reference
IOPOLL requests issued from io-wq are reaped by io_do_iopoll() on the submitter, with the same window as the task_work completions: the CQE is posted while the worker may still hold its reference, and the file is only dropped once it does. Leave such a request on the iopoll list until the worker has dropped its reference, the next pass then reaps it and the put from io_free_batch_list() is the last one. Also move the reference handling for the task_work case into a helper. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions