From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCHv1 0/6] rdma controller support Date: Thu, 7 Jan 2016 15:06:04 -0500 Message-ID: <20160107200604.GE1898@mtj.duckdns.org> References: <1452020286-9508-1-git-send-email-pandit.parav@gmail.com> <20160105215623.GH5995@mtj.duckdns.org> <20160107150718.GC29797@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=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=9nky0rLII/5CVHOgwU3n9MTqucA5RJJHwhj8Zc0OhGg=; b=C1lMGZle6pGgyi7BKpOIFW1uQ24cEFl4U4qTTmfYDe43E98dUVu2/EdlkCMD1P8TCI vprQQOtug766hNFS/N5Fgl4v3fnS/fvldLDVMTQQwpUpS8AGJ5wjEp8ObadNWFDFK7Nx stsx6gxa5/JJZkPnvMdKVJDS3UY68gHQYQSJM7mjjgepuic67fQL9vbY0ZhKnHUMhvGA zs6zEKc6g9kyI9HYuyf2tCkyQ+F3dagptYd23em70ZjTRUXkJgnpQXYVZKaE7QW93To7 a4IIsNacunltYTuBUHhqpjiAC+Ht+5URjGbXXoBhW2OWlvfdXQH4tfBSKZWsk0/Xc4xi LBnw== Content-Disposition: inline In-Reply-To: Sender: linux-doc-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Parav Pandit 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 Hello, On Fri, Jan 08, 2016 at 01:31:06AM +0530, Parav Pandit wrote: > > What I was > > trying to say was that unless the number is extremely high, it'd be > > far simpler to hard code them in the rdma controller and let drivers > > enable the ones which apply to them. > > Instead of in rdma controller, its hard coded in IB stack. > I see this as an advantage where resource definition ownership remains > with IB stack maintainers, rather than rdma cgroup maintainer. > rdma cgroup maintainer doesn't have to understand what SRQ vs QP or > ODP type MR or multicast group is. > IB stack maintainer is better placed to judge and define it. > > I would like to hear from Jason, Doug, Liran and other RDMA experts > about their thoughts. That's fine. Make it a header file in IB stack which is included from the rdma cgroup controller. The only things are not building a huge dynamic framework for something which can easily be a simple static thing and having some oversight in adding resource types. Thanks. -- tejun