Re: [PATCH] Documentation: cgroup: clarify controller enabling semantics

From: Michal Koutný
Date: Tue May 27 2025 - 05:59:04 EST


Hello.

On Tue, May 27, 2025 at 02:23:36PM +0530, Vishal Chourasia <vishalc@xxxxxxxxxxxxx> wrote:
> --- a/Documentation/admin-guide/cgroup-v2.rst
> +++ b/Documentation/admin-guide/cgroup-v2.rst
> @@ -438,8 +438,8 @@ Controlling Controllers
> Enabling and Disabling
> ~~~~~~~~~~~~~~~~~~~~~~
>
> -Each cgroup has a "cgroup.controllers" file which lists all
> -controllers available for the cgroup to enable::
> +Each cgroup has a cgroup.controllers file, which lists all the controllers
> +available for that cgroup and which can be enabled for its children.
>
> # cat cgroup.controllers
> cpu io memory

Honestly, I see little difference between the two resulting formulations.
Could you perhaps add an example where the documentation confused you or
behavior was not what you expected based on the docs?

Thanks,
Michal

Attachment: signature.asc
Description: PGP signature