On 9/1/22 3:32 AM, Dylan Yudaken wrote: > It is not allowed to use call_rcu twice with the same rcu head. This could > have happened with multiple signals occurring concurrently. > > Instead keep track of ops in a bitset and only queue up the call if it is > not already queued up. > > The refcounting is still required since as far as I can tell there is > otherwise no protection from a call to io_eventfd_ops being started and > before it completes another call being started. > > Fixes: "io_uring: signal registered eventfd to process deferred task work" > Signed-off-by: Dylan Yudaken <dylany@xxxxxx> > --- > > Note I did not put a hash in the Fixes tag as it has not yet been merged. > You could also just merge it into that commit if you like. I folded it into that commit, thanks! -- Jens Axboe