From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757246AbbHDOvQ (ORCPT ); Tue, 4 Aug 2015 10:51:16 -0400 Received: from mail-yk0-f176.google.com ([209.85.160.176]:33615 "EHLO mail-yk0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753156AbbHDOvK (ORCPT ); Tue, 4 Aug 2015 10:51:10 -0400 Date: Tue, 4 Aug 2015 10:51:07 -0400 From: Tejun Heo To: Peter Zijlstra Cc: mingo@redhat.com, hannes@cmpxchg.org, lizefan@huawei.com, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 1/3] cgroup: define controller file conventions Message-ID: <20150804145107.GB17598@mtj.duckdns.org> References: <1438641689-14655-1-git-send-email-tj@kernel.org> <1438641689-14655-2-git-send-email-tj@kernel.org> <20150804084257.GJ25159@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150804084257.GJ25159@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Tue, Aug 04, 2015 at 10:42:57AM +0200, Peter Zijlstra wrote: > On Mon, Aug 03, 2015 at 06:41:27PM -0400, Tejun Heo wrote: > > +- If a controller implements an absolute resource limit, the control > > + knob should be named "max". The special token "max" should be used > > + to represent no limit for both reading and writing. > > So what do you do with minimal resource guarantees? That's still an > absolute resource limit and 'max' is obviously the wrong name. The whole spectrum is min, low, high, max where min, max are absolute guarantee, upper limit and low, high are best effort ones. Will update the doc. Thanks. -- tejun