Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751602AbbHEITY (ORCPT ); Wed, 5 Aug 2015 04:19:24 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:33186 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751046AbbHEITW (ORCPT ); Wed, 5 Aug 2015 04:19:22 -0400 Message-ID: <55C1C702.3020400@huawei.com> Date: Wed, 5 Aug 2015 16:19:14 +0800 From: Zefan Li User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Tejun Heo CC: , , , , , , Subject: Re: [PATCH 2/4] cgroup: define controller file conventions References: <1438547024-23497-1-git-send-email-tj@kernel.org> <1438547024-23497-3-git-send-email-tj@kernel.org> In-Reply-To: <1438547024-23497-3-git-send-email-tj@kernel.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.18.230] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1211 Lines: 27 On 2015/8/3 4:23, Tejun Heo wrote: > Traditionally, each cgroup controller implemented whatever interface > it wanted leading to interfaces which are widely inconsistent. > Examining the requirements of the controllers readily yield that there > are only a few control schemes shared among all. > > Two major controllers already had to implement new interface for the > unified hierarchy due to significant structural changes. Let's take > the chance to establish common conventions throughout all controllers. > > This patch defines CGROUP_WEIGHT_MIN/DFL/MAX to be used on all weight > based control knobs and documents the conventions that controllers > should follow on the unified hierarchy. Except for io.weight knob, > all existing unified hierarchy knobs are already compliant. A > follow-up patch will update io.weight. > > Signed-off-by: Tejun Heo > Cc: Li Zefan > Cc: Johannes Weiner acked -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/