Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=23c1fb52961bc24bd3a8078eefc49eed533b2b38 Commit: 23c1fb52961bc24bd3a8078eefc49eed533b2b38 Parent: 0da2f0f164f098bb4447c714b552ac1681b2d6e8 Author: Peter Zijlstra <[EMAIL PROTECTED]> AuthorDate: Fri Jul 6 13:35:34 2007 +0200 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Fri Jul 6 10:26:50 2007 -0700
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 <[EMAIL PROTECTED]> Acked-by: Alexey Dobriyan <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- mm/vmstat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/vmstat.c b/mm/vmstat.c index 3825429..eceaf49 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -477,8 +477,8 @@ const struct seq_operations fragmentation_op = { static const char * const vmstat_text[] = { /* Zoned VM counters */ "nr_free_pages", - "nr_active", "nr_inactive", + "nr_active", "nr_anon_pages", "nr_mapped", "nr_file_pages", - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html