From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCHv12 0/3] rdmacg: IB/core: rdma controller support Date: Wed, 19 Oct 2016 10:33:45 -0400 Message-ID: <20161019143345.GA18532@htj.duckdns.org> References: <20161010044623.GI9282@leon.nu> <20161010122545.GA27360@mtj.duckdns.org> <20161010132014.GD29742@mtj.duckdns.org> <20161013231413.GA32534@mtj.duckdns.org> <20161018215134.GB2761@htj.duckdns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Parav Pandit Cc: Leon Romanovsky , 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 Hello, On Wed, Oct 19, 2016 at 03:04:52PM +0530, Parav Pandit wrote: > > Heh, we can go for per-mil and use %0 as the suffix if absolutely > > necessary but is this a real issue? > > We need to provide current version to exceed the 100 containers limit first. :-) > Please let me know if such user interface already exist as reference point. > I prefer to avoid introducing such configuration. We don't have such usage yet. rdmacg would be the first one doing something like this. > > I think it's a lot more consistent to implement all absoulte limits > > through max. > > I agree. I will implement reporting actual max values instead of > reporting "max" string so that percentage configuration can be done by > the user space tools. > (post merging of v12). > Waiting for direction from Doug. That doesn't sound like a good idea. What happens when the amount of available resources changes either through underlying resource changes or config changes in one of the ancestors? What "max" means is "no limit is imposed" which is different from "limit it to 100% of what's currently available". Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html