Re: [PATCH] mm, docs: update memory.stat description with workingset* entries

From: Michal Hocko
Date: Tue May 16 2017 - 05:17:40 EST


On Thu 11-05-17 20:18:13, Roman Gushchin wrote:
> Commit 4b4cea91691d ("mm: vmscan: fix IO/refault regression in
> cache workingset transition") introduced three new entries in memory
> stat file:
> - workingset_refault,
> - workingset_activate,
> - workingset_nodereclaim.
>
> This commit adds a corresponding description to the cgroup v2 docs.
>
> Signed-off-by: Roman Gushchin <guro@xxxxxx>
> Cc: Johannes Weiner <hannes@xxxxxxxxxxx>
> Cc: Michal Hocko <mhocko@xxxxxxxxxx>
> Cc: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>
> Cc: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Li Zefan <lizefan@xxxxxxxxxx>
> Cc: cgroups@xxxxxxxxxxxxxxx
> Cc: linux-doc@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx

Missed this one. Sorry about that
Acked-by: Michal Hocko <mhocko@xxxxxxxx>

> ---
> Documentation/cgroup-v2.txt | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/Documentation/cgroup-v2.txt b/Documentation/cgroup-v2.txt
> index e50b95c..dc5e2dc 100644
> --- a/Documentation/cgroup-v2.txt
> +++ b/Documentation/cgroup-v2.txt
> @@ -918,6 +918,18 @@ PAGE_SIZE multiple when read back.
>
> Number of major page faults incurred
>
> + workingset_refault
> +
> + Number of refaults of previously evicted pages
> +
> + workingset_activate
> +
> + Number of refaulted pages that were immediately activated
> +
> + workingset_nodereclaim
> +
> + Number of times a shadow node has been reclaimed
> +
> memory.swap.current
>
> A read-only single value file which exists on non-root
> --
> 2.7.4

--
Michal Hocko
SUSE Labs