From: Konstantin Khlebnikov Date: Tue, 14 Apr 2015 22:45:30 +0000 (-0700) Subject: mm: hide per-cpu lists in output of show_mem() X-Git-Tag: omap-for-v4.1/fixes-rc1~151^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1bfcdb8ce0ea6eb6034daa7ff02548e0bc9c21b;p=pandora-kernel.git mm: hide per-cpu lists in output of show_mem() This makes show_mem() much less verbose on huge machines. Instead of huge and almost useless dump of counters for each per-zone per-cpu lists this patch prints the sum of these counters for each zone (free_pcp) and size of per-cpu list for current cpu (local_pcp). The filter flag SHOW_MEM_PERCPU_LISTS reverts to the old verbose mode. [akpm@linux-foundation.org: update show_free_areas comment] Signed-off-by: Konstantin Khlebnikov Acked-by: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed