]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memcg: print statistics from live counters
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 29 May 2012 22:07:08 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 May 2012 23:22:28 +0000 (16:22 -0700)
commit79d6a317c59325847a770a7e616e1c52f5a15b8e
treef5abf6b2e7301fc0daa61de46021b1c102cdd4cc
parent6ca5379aaff78bac03b13d3ef24ab3ff3024906b
mm: memcg: print statistics from live counters

Directly print statistics and event counters instead of going through an
intermediate accumulation stage into a separate array, which used to
require defining statistic items in more than one place.

[akpm@linux-foundation.org: checkpatch fixes]
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Ying Han <yinghan@google.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c