]> Git Repo - linux.git/commit - mm/vmstat.c
mm: add NR_ZSMALLOC to vmstat
authorMinchan Kim <[email protected]>
Tue, 26 Jul 2016 22:24:45 +0000 (15:24 -0700)
committerLinus Torvalds <[email protected]>
Tue, 26 Jul 2016 23:19:19 +0000 (16:19 -0700)
commit91537fee001361b1a4d485f1af65d8efa03d49b5
treebbfbe678ebbcdec6dc05de246970712cfdd653ba
parent8ea1d2a1985a7ae096edf5850a31d844ad1b8e97
mm: add NR_ZSMALLOC to vmstat

zram is very popular for some of the embedded world (e.g., TV, mobile
phones).  On those system, zsmalloc's consumed memory size is never
trivial (one of example from real product system, total memory: 800M,
zsmalloc consumed: 150M), so we have used this out of tree patch to
monitor system memory behavior via /proc/vmstat.

With zsmalloc in vmstat, it helps in tracking down system behavior due
to memory usage.

[[email protected]: zsmalloc: follow up zsmalloc vmstat]
Link: http://lkml.kernel.org/r/20160607091737.GC23435@bbox
[[email protected]: fix build with CONFIG_ZSMALLOC=m]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Minchan Kim <[email protected]>
Cc: Sangseok Lee <[email protected]>
Cc: Chanho Min <[email protected]>
Cc: Chan Gyun Jeong <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mmzone.h
mm/vmstat.c
mm/zsmalloc.c
This page took 0.056612 seconds and 4 git commands to generate.