Skip to contentSkip to conversation

mm: fix vmstat and zonestat mismatch

PATCH In review Minchan Kim 2 participants 2 messages Jul 4, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm: fix vmstat and zonestat mismatch

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 <[email protected]>
Cc Ingo Molnar <[email protected]>
---
 mm/vmstat.c |    1 -
 1 file changed, 1 deletion(-)
mm/vmstat.c +0 -1
index 1bbbbd9..e4db312 100644
@@ -717,7 +717,6 @@ const char * const vmstat_text[] = {
 	"numa_hit",
 	"numa_miss",
 	"numa_foreign",
-	"numa_interleave",
 	"numa_local",
 	"numa_other",
 #endif
Signature · 7 lines
1.7.9.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Minchan Kim

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.

... for CONFIG_NUMA kernels.

Quoted 2 lines

[1]: mm/mpol: Remove NUMA_INTERLEAVE_HIT

That sha1 is going to become useless very soon.

Quoted 3 lines
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>

This is for sched/numa, so it should be going to Ingo.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>