Re: [PATCH 2/2 v3] memcg: support hierarchical memory.numa_stats

2013-09-15 Thread Johannes Weiner
Hello Greg! On Wed, Sep 04, 2013 at 11:28:59PM -0700, Greg Thelen wrote: > --- a/Documentation/cgroups/memory.txt > +++ b/Documentation/cgroups/memory.txt > @@ -571,15 +571,19 @@ an memcg since the pages are allowed to be allocated > from any physical > node. One of the use cases is evaluating

Re: [PATCH 2/2 v3] memcg: support hierarchical memory.numa_stats

2013-09-15 Thread Johannes Weiner
Hello Greg! On Wed, Sep 04, 2013 at 11:28:59PM -0700, Greg Thelen wrote: --- a/Documentation/cgroups/memory.txt +++ b/Documentation/cgroups/memory.txt @@ -571,15 +571,19 @@ an memcg since the pages are allowed to be allocated from any physical node. One of the use cases is evaluating

[PATCH 2/2 v3] memcg: support hierarchical memory.numa_stats

2013-09-05 Thread Greg Thelen
From: Ying Han The memory.numa_stat file was not hierarchical. Memory charged to the children was not shown in parent's numa_stat. This change adds the "hierarchical_" stats to the existing stats. The new hierarchical stats include the sum of all children's values in addition to the value of

[PATCH 2/2 v3] memcg: support hierarchical memory.numa_stats

2013-09-05 Thread Greg Thelen
From: Ying Han ying...@google.com The memory.numa_stat file was not hierarchical. Memory charged to the children was not shown in parent's numa_stat. This change adds the hierarchical_ stats to the existing stats. The new hierarchical stats include the sum of all children's values in addition