mm, vmstat: suppress pcp stats for unpopulated zones in zoneinfo
authorDavid Rientjes <[email protected]>
Wed, 3 May 2017 21:53:02 +0000 (14:53 -0700)
committerLinus Torvalds <[email protected]>
Wed, 3 May 2017 22:52:08 +0000 (15:52 -0700)
commit7dfb8bf3b9caef4049bee51d2c22e1c3a311d483
treeb6ce83d81a65b27fb111a017a80b4376e9727c14
parentb2bd8598195f1b2a72130592125ac6b4218988a2
mm, vmstat: suppress pcp stats for unpopulated zones in zoneinfo

After "mm, vmstat: print non-populated zones in zoneinfo",
/proc/zoneinfo will show unpopulated zones.

The per-cpu pageset statistics are not relevant for unpopulated zones
and can be potentially lengthy, so supress them when they are not
interesting.

Also moves lowmem reserve protection information above pcp stats since
it is relevant for all zones per vm.lowmem_reserve_ratio.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: David Rientjes <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmstat.c