On Mon, Jun 4, 2018 at 9:23 AM, Gi-Oh Kim <gi-oh.kim@xxxxxxxxxxxxxxxx> wrote: > Hi, > > Your patch is reasonable to me. > Can I ask a question for that? > Could it be solved by asymmetric locking as following? Maybe, if you are sure taking file->mut is safe in that place. Can you double check atomic_inc_not_zero(&mc->ctx->ref)? I am too far away from familiar with infiniband. ;) -- 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