Re: [PATCH v2] cgroup, docs: document the root cgroup behavior of cpu and io controllers

From: Tejun Heo
Date: Tue Jan 16 2018 - 11:08:20 EST


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 <mail@xxxxxxxxxxxxxxxxxxxxx>

Applied to cgroup/for-4.16.

Thanks.

--
tejun