[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z4TVxXF0-G7hnLr6@archie.me>
Date: Mon, 13 Jan 2025 15:58:45 +0700
From: Bagas Sanjaya <bagasdotme@...il.com>
To: Li Zhijian <lizhijian@...itsu.com>, linux-doc@...r.kernel.org
Cc: Tejun Heo <tj@...nel.org>, Johannes Weiner <hannes@...xchg.org>,
mkoutny@...e.com, Jonathan Corbet <corbet@....net>,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
Waiman Long <llong@...hat.com>
Subject: Re: [PATCH v2] Documentation/cgroup-v2: Update
memory.{stat,numa_stat} description to reflect possible units
On Mon, Jan 13, 2025 at 09:05:30AM +0800, Li Zhijian wrote:
> diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
> index 315ede811c9d..0a43be0c32d1 100644
> --- a/Documentation/admin-guide/cgroup-v2.rst
> +++ b/Documentation/admin-guide/cgroup-v2.rst
> @@ -1427,7 +1427,7 @@ The following nested keys are defined.
> types of memory, type-specific details, and other information
> on the state and past events of the memory management system.
>
> - All memory amounts are in bytes.
> + All memory amounts are in bytes unless said otherwise.
"... unless otherwise specified."
>
> The entries are ordered to be human readable, and new entries
> can show up in the middle. Don't rely on items remaining in a
> @@ -1673,11 +1673,12 @@ The following nested keys are defined.
> application performance by combining this information with the
> application's CPU allocation.
>
> - All memory amounts are in bytes.
> -
> The output format of memory.numa_stat is::
>
> - type N0=<bytes in node 0> N1=<bytes in node 1> ...
> + type N0=<value for node 0> N1=<value for node 1> ...
> +
> + The 'value' can be in bytes or pages, depending on the specific
> + type of memory. To determine the unit, refer to the memory.stat.
>
> The entries are ordered to be human readable, and new entries
> can show up in the middle. Don't rely on items remaining in a
The rest LGTM.
Reviewed-by: Bagas Sanjaya <bagasdotme@...il.com>
--
An old man doll... just what I always wanted! - Clara
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists