On Thu, Mar 17, 2016 at 09:38:30PM +0530, Devesh Sharma wrote: > To my mind mutex is *not* solving the problem completely unless we > make it a coarser grained lock. The possible deadlock problem still > lingers around it. Review the last version I sent, with this statement in mind: > > The fundamental thing is that the ib_uverbs_free_hw_resources thread > > must wait for ib_uverbs_close's ib_uverbs_cleanup_ucontext to finish, > > if necessary, not the other way around. It sure doesn't look like it can deadlock... Jason -- 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