linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm, docs: update memory.stat description with workingset* entries
@ 2017-05-11 19:18 Roman Gushchin
  2017-05-15 13:56 ` Johannes Weiner
  2017-05-16  9:17 ` Michal Hocko
  0 siblings, 2 replies; 3+ messages in thread
From: Roman Gushchin @ 2017-05-11 19:18 UTC (permalink / raw)
  To: Johannes Weiner
  Cc: Roman Gushchin, Michal Hocko, Vladimir Davydov, Tejun Heo,
	Li Zefan, cgroups, linux-doc, linux-kernel

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@fb.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Li Zefan <lizefan@huawei.com>
Cc: cgroups@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mm, docs: update memory.stat description with workingset* entries
  2017-05-11 19:18 [PATCH] mm, docs: update memory.stat description with workingset* entries Roman Gushchin
@ 2017-05-15 13:56 ` Johannes Weiner
  2017-05-16  9:17 ` Michal Hocko
  1 sibling, 0 replies; 3+ messages in thread
From: Johannes Weiner @ 2017-05-15 13:56 UTC (permalink / raw)
  To: Roman Gushchin
  Cc: Michal Hocko, Vladimir Davydov, Tejun Heo, Li Zefan, cgroups,
	linux-doc, linux-kernel

On Thu, May 11, 2017 at 08:18:13PM +0100, 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@fb.com>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: Michal Hocko <mhocko@kernel.org>
> Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
> Cc: Tejun Heo <tj@kernel.org>
> Cc: Li Zefan <lizefan@huawei.com>
> Cc: cgroups@vger.kernel.org
> Cc: linux-doc@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org

Acked-by: Johannes Weiner <hannes@cmpxchg.org>

Thanks Roman!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mm, docs: update memory.stat description with workingset* entries
  2017-05-11 19:18 [PATCH] mm, docs: update memory.stat description with workingset* entries Roman Gushchin
  2017-05-15 13:56 ` Johannes Weiner
@ 2017-05-16  9:17 ` Michal Hocko
  1 sibling, 0 replies; 3+ messages in thread
From: Michal Hocko @ 2017-05-16  9:17 UTC (permalink / raw)
  To: Roman Gushchin
  Cc: Johannes Weiner, Vladimir Davydov, Tejun Heo, Li Zefan, cgroups,
	linux-doc, linux-kernel

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@fb.com>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: Michal Hocko <mhocko@kernel.org>
> Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
> Cc: Tejun Heo <tj@kernel.org>
> Cc: Li Zefan <lizefan@huawei.com>
> Cc: cgroups@vger.kernel.org
> Cc: linux-doc@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org

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

> ---
>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-16  9:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-11 19:18 [PATCH] mm, docs: update memory.stat description with workingset* entries Roman Gushchin
2017-05-15 13:56 ` Johannes Weiner
2017-05-16  9:17 ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).