Combined approach with tryget, fallbacking to trying completion and doing synchronize_rcu, where the last one is very unlikely to happen and limited by one such per register syscall. I expect 1/2 to cleanly apply for stable, 2/2 needs to be backported by hand. Pavel Begunkov (2): io_uring: wait potential ->release() on resurrect io_uring: wait for ->release() on rsrc resurrect fs/io_uring.c | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) -- 2.24.0