On Fri, Jan 8, 2016 at 2:04 AM, Tejun Heo <tj@xxxxxxxxxx> wrote: > On Fri, Jan 08, 2016 at 02:02:20AM +0530, Parav Pandit wrote: >> o.k. That doable. I want to make sure that we are on same page on below design. >> rpool (which will contain static array based on header file ) would be >> still there, because resource limits are on per device basis. Number >> of devices are variable and dynamically appear. Therefore rdma_cg will >> have the list of rpool attached to it. Do you agree? > > Yeap. Would it make more sense to hang them off of whatever struct > which presents a rdma device tho? And then just walk them from cgroup > controller? > Let me think through it. Its been late night for me currently. So dont want to conclude in hurry. At high level it looks doable by maintaining hash table head on per device basis, that further reduces hash contention by one level. I will get back on this tomorrow. > Thanks. > > -- > tejun -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html