From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751709AbeAPQIR (ORCPT + 1 other); Tue, 16 Jan 2018 11:08:17 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:44939 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbeAPQIL (ORCPT ); Tue, 16 Jan 2018 11:08:11 -0500 X-Google-Smtp-Source: ACJfBou8+cAv5LA8puJElhATDCGK3Ay0V1Rv/3fVTH0lESsOukGoj5sT0Und+NNM7aaB4/A8XZHM3A== Date: Tue, 16 Jan 2018 08:08:02 -0800 From: Tejun Heo To: "Maciej S. Szmigiero" Cc: Li Zefan , Johannes Weiner , Jonathan Corbet , cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel Subject: Re: [PATCH v2] cgroup, docs: document the root cgroup behavior of cpu and io controllers Message-ID: <20180116160802.GO3460072@devbig577.frc2.facebook.com> References: <90ac05c0-8e84-0c0b-195a-4c1712e40f09@maciej.szmigiero.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <90ac05c0-8e84-0c0b-195a-4c1712e40f09@maciej.szmigiero.name> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, Jan 10, 2018 at 11:33:19PM +0100, Maciej S. Szmigiero wrote: > Currently, cgroups v2 documentation contains only a generic remark that > "How resource consumption in the root cgroup is governed is up to each > controller", which isn't really telling users much, who need to dig in the > code and / or commit messages to learn the exact behavior. > > In cgroups v1 at least the blkio controller had its operation with respect > to competition between child threads and child cgroups documented in > blkio-controller.txt, with references to cfq-iosched.txt. > Also, cgroups v2 documentation describes v1 behavior of both cpu and > blkio controllers in an "Issues with v1" section. > > Let's document this behavior also for cgroups v2 to make life easier for > users. > > Signed-off-by: Maciej S. Szmigiero Applied to cgroup/for-4.16. Thanks. -- tejun