On Mon, 20 Jan 2025 17:21:57 +0100, Jann Horn wrote: > Checking for lockdep_assert_held(&ctx->uring_lock) in io_free_rsrc_node() > means that the assertion is only checked when the resource drops to zero > references. > Move the lockdep assertion up into the caller io_put_rsrc_node() so that it > instead happens on every reference count decrement. > > > [...] Applied, thanks! [1/1] io_uring/rsrc: Move lockdep assert from io_free_rsrc_node() to caller commit: 8c4b2fd5908d2260dfac8d4b74aae1bb5deea379 Best regards, -- Jens Axboe