From mboxrd@z Thu Jan 1 00:00:00 1970 From: Parav Pandit Subject: Re: [PATCHv12 0/3] rdmacg: IB/core: rdma controller support Date: Wed, 2 Nov 2016 10:04:01 +0530 Message-ID: References: <20161018215134.GB2761@htj.duckdns.org> <20161019143345.GA18532@htj.duckdns.org> <20161019192006.GB3044@htj.duckdns.org> <20161019200536.GC3044@htj.duckdns.org> <20161031065441.GY3617@leon.nu> <20161101140732.GC3617@leon.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <20161101140732.GC3617-2ukJVAZIZ/Y@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Leon Romanovsky Cc: Tejun Heo , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-rdma , Li Zefan , Johannes Weiner , Doug Ledford , Christoph Hellwig , Liran Liss , "Hefty, Sean" , Jason Gunthorpe , Haggai Eran , james.l.morris-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org, Or Gerlitz , Matan Barak List-Id: linux-rdma@vger.kernel.org On Tue, Nov 1, 2016 at 7:37 PM, Leon Romanovsky wrote: > On Tue, Nov 01, 2016 at 04:33:23PM +0530, Parav Pandit wrote: >> >> > 4. Cgroup configuration should be as close as possible to "standard" if >> > such exists, so all infinite internet guides will work for RDMA too. >> I didnt follow this comment. Can you please explain? Are you saying >> rdma cgroup should have define all the objects of IB spec? > > It is not related to spec at all. There were comments from Tejun and you that > other cgroups (CPU, ...) have different semantics and RDMA has something unique > (I don't remember what was it). I want to see minimal uniqueness RDMA cgroups. ok. Got it. Its the weights interface which is is not suitable for stateful rdma resources which cannot be reclaimed by other cgroup once allocated. So proposing your idea in different way to have rdma.percentage interface as described in previous email. This is applicable for all the resources and allows generic configuration for average user.