Re: [PATCH] psi: Expose pressure metrics on root cgroup

From: Andrew Morton
Date: Fri May 10 2019 - 17:18:24 EST


On Fri, 10 May 2019 10:49:34 -0700 Dan Schatzberg <dschatzberg@xxxxxx> wrote:

> Pressure metrics are already recorded and exposed in procfs for the
> entire system, but any tool which monitors cgroup pressure has to
> special case the root cgroup to read from procfs. This patch exposes
> the already recorded pressure metrics on the root cgroup.
>

Documentation/admin-guide/cgroup-v2.rst says "A read-only nested-key
file which exists on non-root cgroups".
Documentation/accounting/psi.txt could do woth some clarification as
well.