[Linux-kernel-mentees] [PATCH 1/3] infiniband: hw: hfi1: verbs.c: Use built-in RCU list checking

Jason Gunthorpe jgg at ziepe.ca
Thu Jan 9 18:10:38 UTC 2020


On Wed, Jan 08, 2020 at 01:38:50PM +0530, madhuparnabhowmik04 at gmail.com wrote:

> Alternatively, it can be lockdep_is_held(ibp->rvp.lock).
> Please refer to the macro(link below) and let me know if the usage of lock_is_held()
> in the patch is correct.

lock_is_held is the normal way to write this

Jason


More information about the Linux-kernel-mentees mailing list