[PATCH] mm: fix vmstat and zonestat mismatch

From: Minchan Kim
Date: Tue Jul 03 2012 - 20:56:35 EST


e975d6ac[1] in linux-next removed NUMA_INTERLEAVE_HIT
in zone_stat_item but didn't remove it in vmstat_text
so that cat /proc/vmstat doesn't show right count number.

[1]: mm/mpol: Remove NUMA_INTERLEAVE_HIT

Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx>
---
mm/vmstat.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/mm/vmstat.c b/mm/vmstat.c
index 1bbbbd9..e4db312 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -717,7 +717,6 @@ const char * const vmstat_text[] = {
"numa_hit",
"numa_miss",
"numa_foreign",
- "numa_interleave",
"numa_local",
"numa_other",
#endif
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/