2023-07-28 12:43:39

by Ramazan Safiullin

[permalink] [raw]
Subject: [PATCH] docs: psi: use correct config name

Commit 2ce7135adc9a ("psi: cgroup support") adds documentation which refers
to CONFIG_CGROUP, but the correct name is CONFIG_CGROUPS.

Correct the reference to CONFIG_CGROUPS.

Co-developed-by: Sabina Trendota <[email protected]>
Signed-off-by: Sabina Trendota <[email protected]>
Signed-off-by: Ramazan Safiullin <[email protected]>
---
Documentation/accounting/psi.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/accounting/psi.rst b/Documentation/accounting/psi.rst
index df6062eb3abb..d455db3e5808 100644
--- a/Documentation/accounting/psi.rst
+++ b/Documentation/accounting/psi.rst
@@ -178,7 +178,7 @@ Userspace monitor usage example
Cgroup2 interface
=================

-In a system with a CONFIG_CGROUP=y kernel and the cgroup2 filesystem
+In a system with a CONFIG_CGROUPS=y kernel and the cgroup2 filesystem
mounted, pressure stall information is also tracked for tasks grouped
into cgroups. Each subdirectory in the cgroupfs mountpoint contains
cpu.pressure, memory.pressure, and io.pressure files; the format is
--
2.25.1



2023-07-31 16:12:04

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: psi: use correct config name

Ramazan Safiullin <[email protected]> writes:

> Commit 2ce7135adc9a ("psi: cgroup support") adds documentation which refers
> to CONFIG_CGROUP, but the correct name is CONFIG_CGROUPS.
>
> Correct the reference to CONFIG_CGROUPS.
>
> Co-developed-by: Sabina Trendota <[email protected]>
> Signed-off-by: Sabina Trendota <[email protected]>
> Signed-off-by: Ramazan Safiullin <[email protected]>
> ---
> Documentation/accounting/psi.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/accounting/psi.rst b/Documentation/accounting/psi.rst
> index df6062eb3abb..d455db3e5808 100644
> --- a/Documentation/accounting/psi.rst
> +++ b/Documentation/accounting/psi.rst
> @@ -178,7 +178,7 @@ Userspace monitor usage example
> Cgroup2 interface
> =================
>
> -In a system with a CONFIG_CGROUP=y kernel and the cgroup2 filesystem
> +In a system with a CONFIG_CGROUPS=y kernel and the cgroup2 filesystem
> mounted, pressure stall information is also tracked for tasks grouped
> into cgroups. Each subdirectory in the cgroupfs mountpoint contains
> cpu.pressure, memory.pressure, and io.pressure files; the format is

Applied, thanks.

jon