]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Documentation: memcg: future proof hierarchical statistics documentation
authorJohannes Weiner <hannes@cmpxchg.org>
Thu, 3 May 2012 05:43:50 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:30 +0000 (15:46 +1000)
commit7c13b91a61ba81299d3c14895365e2c2c1830327
treefad16b6309bd5d7c4a898134af0fe6e509940463
parent240a82e2203217fc5a04721ef5bede9786519fc3
Documentation: memcg: future proof hierarchical statistics documentation

The hierarchical versions of per-memcg counters in memory.stat are all
calculated the same way and are all named total_<counter>.

Documenting the pattern is easier for maintenance than listing each
counter twice.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Ying Han <yinghan@google.com>
Randy Dunlap <rdunlap@xenotime.net>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/cgroups/memory.txt