From: Peter Zijlstra Date: Fri, 6 Jul 2007 11:35:34 +0000 (+0200) Subject: mm: fixup /proc/vmstat output X-Git-Tag: v2.6.22~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23c1fb52961bc24bd3a8078eefc49eed533b2b38;p=pandora-kernel.git mm: fixup /proc/vmstat output Line up the vmstat_text with zone_stat_item enum zone_stat_item { /* First 128 byte cacheline (assuming 64 bit words) */ NR_FREE_PAGES, NR_INACTIVE, NR_ACTIVE, We current have nr_active and nr_inactive reversed. [ "OK with patch, though using initializers canbe handy to prevent such things in future: static const char * const vmstat_text[] = { [NR_FREE_PAGES] = "nr_free_pages", ..." - Alexey ] Signed-off-by: Peter Zijlstra Acked-by: Alexey Dobriyan Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed