2013-06-19 12:35:22

by Aaro Koskinen

[permalink] [raw]
Subject: [PATCH] Documentation/cgroups/memory.txt: fix stat file documentation

Documentation for inactive_anon / active_anon was mixed up. Fix that.

Signed-off-by: Aaro Koskinen <[email protected]>
---
Documentation/cgroups/memory.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt
index ddf4f93..b63be03 100644
--- a/Documentation/cgroups/memory.txt
+++ b/Documentation/cgroups/memory.txt
@@ -490,10 +490,10 @@ pgpgin - # of charging events to the memory cgroup. The charging
pgpgout - # of uncharging events to the memory cgroup. The uncharging
event happens each time a page is unaccounted from the cgroup.
swap - # of bytes of swap usage
-inactive_anon - # of bytes of anonymous memory and swap cache memory on
+inactive_anon - # of bytes of anonymous and swap cache memory on inactive
LRU list.
active_anon - # of bytes of anonymous and swap cache memory on active
- inactive LRU list.
+ LRU list.
inactive_file - # of bytes of file-backed memory on inactive LRU list.
active_file - # of bytes of file-backed memory on active LRU list.
unevictable - # of bytes of memory that cannot be reclaimed (mlocked etc).
--
1.7.10.4


2013-06-20 05:26:48

by Rob Landley

[permalink] [raw]
Subject: Re: [PATCH] Documentation/cgroups/memory.txt: fix stat file documentation

On 06/19/2013 07:34:29 AM, Aaro Koskinen wrote:
> Documentation for inactive_anon / active_anon was mixed up. Fix that.
>
> Signed-off-by: Aaro Koskinen <[email protected]>

Acked-by: Rob Landley <[email protected]>

> ---
> Documentation/cgroups/memory.txt | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/cgroups/memory.txt
> b/Documentation/cgroups/memory.txt
> index ddf4f93..b63be03 100644
> --- a/Documentation/cgroups/memory.txt
> +++ b/Documentation/cgroups/memory.txt
> @@ -490,10 +490,10 @@ pgpgin - # of charging events to the
> memory cgroup. The charging
> pgpgout - # of uncharging events to the memory cgroup.
> The uncharging
> event happens each time a page is unaccounted from the
> cgroup.
> swap - # of bytes of swap usage
> -inactive_anon - # of bytes of anonymous memory and swap cache
> memory on
> +inactive_anon - # of bytes of anonymous and swap cache memory
> on inactive
> LRU list.
> active_anon - # of bytes of anonymous and swap cache memory on
> active
> - inactive LRU list.
> + LRU list.
> inactive_file - # of bytes of file-backed memory on inactive
> LRU list.
> active_file - # of bytes of file-backed memory on active LRU list.
> unevictable - # of bytes of memory that cannot be reclaimed
> (mlocked etc).
> --
> 1.7.10.4
>
>