[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160725072300.GK10438@techsingularity.net>
Date: Mon, 25 Jul 2016 08:23:00 +0100
From: Mel Gorman <mgorman@...hsingularity.net>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Minchan Kim <minchan@...nel.org>,
Fengguang Wu <fengguang.wu@...el.com>,
Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...e.cz>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Vlastimil Babka <vbabka@...e.cz>,
Linux-MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] mm: add per-zone lru list stat -fix
This patch renames the zone LRU stats as printed in /proc/vmstat to avoid
confusion. This keeps both the node and zone stats which normally will be
redundant but should always be roughly in sync.
This is a fix to the mmotm patch mm-add-per-zone-lru-list-stat.patch
Signed-off-by: Mel Gorman <mgorman@...hsingularity.net>
---
mm/vmstat.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mm/vmstat.c b/mm/vmstat.c
index e1a46906c61b..89cec42d19ff 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -921,11 +921,11 @@ int fragmentation_index(struct zone *zone, unsigned int order)
const char * const vmstat_text[] = {
/* enum zone_stat_item countes */
"nr_free_pages",
- "nr_inactive_anon",
- "nr_active_anon",
- "nr_inactive_file",
- "nr_active_file",
- "nr_unevictable",
+ "nr_zone_inactive_anon",
+ "nr_zone_active_anon",
+ "nr_zone_inactive_file",
+ "nr_zone_active_file",
+ "nr_zone_unevictable",
"nr_zone_write_pending",
"nr_mlock",
"nr_slab_reclaimable",
Powered by blists - more mailing lists