From mboxrd@z Thu Jan 1 00:00:00 1970 From: Parav Pandit Subject: Re: [PATCHv1 0/6] rdma controller support Date: Fri, 8 Jan 2016 02:16:59 +0530 Message-ID: References: <1452020286-9508-1-git-send-email-pandit.parav@gmail.com> <20160105215623.GH5995@mtj.duckdns.org> <20160107150718.GC29797@mtj.duckdns.org> <20160107200604.GE1898@mtj.duckdns.org> <20160107203425.GG1898@mtj.duckdns.org> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wQjaIC6fz3a5ruGaRnYpe6qif9a5pq4SmGCZ3moJgZo=; b=aORxXTLIO+6rkUjqFDogqBHlv/6al/kksbe//+JphIoOk5p3Kn7J4nVvcik6Ff3VSa joFcvdbM7WKPLOSmcZS1NEp50uPtdI8BPFsxkfcf6BHThuGiM/F6xJ8wTPDsMy1j7sML nrEZLAF5I+BItr7qk/HroXKGL58wSfXbLhoLhI120CI5sXWQMPK5i9a0CSVf4fv6Uu3L NoSyErrepJNnFYBlNCt8yEMydIZ8mWwjJ+kYkME2wU3NWB3sRBIRdFGtUMZKLULPjzGK +7eD0QEUqOZxZhcqekC0XTGz6HyjY1n7BeeYvLgU+7O1cD7Ha0ghMm3a7KX8jnBp0Q+I /Ljw== In-Reply-To: <20160107203425.GG1898@mtj.duckdns.org> Sender: linux-doc-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tejun Heo Cc: cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, lizefan@huawei.com, Johannes Weiner , Doug Ledford , Liran Liss , "Hefty, Sean" , Jason Gunthorpe , Haggai Eran , Jonathan Corbet , james.l.morris@oracle.com, serge@hallyn.com, Or Gerlitz , Matan Barak , raindel@mellanox.com, akpm@linux-foundation.org, linux-security-module@vger.kernel.org On Fri, Jan 8, 2016 at 2:04 AM, Tejun Heo 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