History

Merge tag 'io_uring-6.0-2022-09-23' of git://git.kernel.dk/linux

Pull io_uring fix from Jens Axboe: "Just a single fix for an issue with un-reaped IOPOLL requests on ring exit" * tag 'io_uring-6.0-2022-09-23' of git://git.kernel.dk/linux: io_uring: ensure that cached task references are always put on exit

Linus Torvalds committed 4 years ago

Commit 3db61222 parents 0be27f7 e775f931 file · +3 −0Browse files

Unified · Split

io_uring/io_uring.c+3−0
@@ -2648,6 +2648,9 @@ static __cold void io_ring_ctx_wait_and_kill(struct io_ring_ctx *ctx) · 2647 unmodified lines
2648 io_kill_timeouts(ctx, NULL, true);2648 io_kill_timeouts(ctx, NULL, true);
2649 /* if we failed setting up the ctx, we might not have any rings */2649 /* if we failed setting up the ctx, we might not have any rings */
2650 io_iopoll_try_reap_events(ctx);2650 io_iopoll_try_reap_events(ctx);
2651 /* drop cached put refs after potentially doing completions */
2652 if (current->io_uring)
2653 io_uring_drop_tctx_refs(current);
2651 }2654 }
2652 2655
2653 INIT_WORK(&ctx->exit_work, io_ring_exit_work);2656 INIT_WORK(&ctx->exit_work, io_ring_exit_work);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t