On Fri, 21 Jan 2022 04:38:56 -0800, Dylan Yudaken wrote: > In some cases io_rsrc_ref_quiesce will call io_rsrc_node_switch_start, > and then immediately flush the delayed work queue &ctx->rsrc_put_work. > > However the percpu_ref_put does not immediately destroy the node, it > will be called asynchronously via RCU. That ends up with > io_rsrc_node_ref_zero only being called after rsrc_put_work has been > flushed, and so the process ends up sleeping for 1 second unnecessarily. > > [...] Applied, thanks! [1/1] io_uring: fix bug in slow unregistering of nodes (no commit info) Best regards, -- Jens Axboe