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

Andrew Morton
2019-05-10T21:17:02Z

On Fri, 10 May 2019 10:49:34 -0700 Dan Schatzberg <dschatzberg@fb.com> 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.