> On Mon, Nov 02, 2015 at 12:13:25PM -0500, Mike Marciniszyn wrote:
> > The current implementation gets a spin_lock, and at any scale with qib
> > and hfi1 post send, the lock contention grows exponentially with the
> > number of QPs.
> >
> > idr_find() is RCU compatibile, so read doesn't need the lock.
> >
> > Change to use rcu_read_lock() and rcu_read_unlock() in
> > __idr_get_uobj().
> >
> > kfree_rcu() is used to insure a grace period between the idr removal
> > and actual free.
> 
> Looks OK to me.
> 
> Reviewed-By: Jason Gunthorpe <jguntho...@obsidianresearch.com>

Doug, 

What is the status of this patch?

I don't see it any of the public repos.

Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to