Re: [PATCH] io_uring: restore RCU read section in io_req_local_work_add()
Jens Axboe <[email protected]> Thu, 09 Jul 2026 11:44:39 -0600
| Newsgroups | org.kernel.vger.io-uring |
|---|---|
| Message-ID | <178361907941.14321.2989447050307137432.b4-ty@b4> |
On Thu, 09 Jul 2026 10:51:00 +0700, Woraphat Khiaodaeng wrote:
> The task-work refactor that moved io_req_local_work_add() out of
> io_uring.c into the new io_uring/tw.c dropped the whole-body guard(rcu)()
> that used to cover the function body.
>
> For DEFER_TASKRUN rings the ring teardown still relies on that RCU read
> section pairing with its grace period:
>
> [...]
Applied, thanks!
[1/1] io_uring: restore RCU read section in io_req_local_work_add()
commit: 648790e0952789527ec68548edbedbc0fcff43b5
Best regards,
--
Jens Axboe