summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2012-05-29 15:07:06 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-29 16:22:27 -0700
commit78ccf5b5ab834080db25d8128e7dd33594cbf4df (patch)
tree999ce4d31c0b98d6bb437a9cb001ad6d938a6489 /mm/filemap.c
parentfada52ca0e48d227f055134e8cc32f583c5b8b53 (diff)
downloadlinux-78ccf5b5ab834080db25d8128e7dd33594cbf4df.tar.gz
linux-78ccf5b5ab834080db25d8128e7dd33594cbf4df.tar.bz2
linux-78ccf5b5ab834080db25d8128e7dd33594cbf4df.zip
mm: memcg: print statistics directly to seq_file
Being able to use seq_printf() allows being smarter about statistics name strings, which are currently listed twice, with the only difference being a "total_" prefix on the hierarchical version. 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>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions