On Tue, Jul 19, 2016 at 08:15:41PM -0500, Christoph Lameter wrote: > On Tue, 19 Jul 2016, Matan Barak wrote: > > > diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h > > index 432bed5..14bfe3b 100644 > > --- a/include/rdma/ib_verbs.h > > +++ b/include/rdma/ib_verbs.h > > @@ -1706,6 +1706,10 @@ struct ib_device { > > > > struct iw_cm_verbs *iwcm; > > > > + struct idr idr; > > + /* Global lock in use to safely release device IDR */ > > + spinlock_t idr_lock; > > Global? In what sense? This is a lock for the idrs for the particular > device right? The comment is a bit confusing. Maybe better remove it? I'll fix it and will remove "global" word from the comment. It should be /* Lock in use to safety release device IDR */. I prefer to add comment to spinlock to pass checkpatch without errors/warnings about missing comment for the spinlock. Thanks. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html
Attachment:
signature.asc
Description: Digital signature