[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200109181038.GA24939@ziepe.ca>
Date: Thu, 9 Jan 2020 14:10:38 -0400
From: Jason Gunthorpe <jgg@...pe.ca>
To: madhuparnabhowmik04@...il.com
Cc: dennis.dalessandro@...el.com, mike.marciniszyn@...el.com,
dledford@...hat.com, paulmck@...nel.org, rcu@...r.kernel.org,
joel@...lfernandes.org, frextrite@...il.com,
linux-kernel-mentees@...ts.linuxfoundation.org,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] infiniband: hw: hfi1: verbs.c: Use built-in RCU list
checking
On Wed, Jan 08, 2020 at 01:38:50PM +0530, madhuparnabhowmik04@...il.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
Powered by blists - more mailing lists