Re: [PATCH] io_uring/rsrc: Move lockdep assert from io_free_rsrc_node() to caller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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







[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux