All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm: fix vmstat and zonestat mismatch
@ 2012-07-04  0:56 ` Minchan Kim
  0 siblings, 0 replies; 4+ messages in thread
From: Minchan Kim @ 2012-07-04  0:56 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, linux-mm, Minchan Kim, Peter Zijlstra, Ingo Molnar

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@chello.nl>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Minchan Kim <minchan@kernel.org>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] mm: fix vmstat and zonestat mismatch
@ 2012-07-04  0:56 ` Minchan Kim
  0 siblings, 0 replies; 4+ messages in thread
From: Minchan Kim @ 2012-07-04  0:56 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, linux-mm, Minchan Kim, Peter Zijlstra, Ingo Molnar

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@chello.nl>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Minchan Kim <minchan@kernel.org>
---
 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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] mm: fix vmstat and zonestat mismatch
  2012-07-04  0:56 ` Minchan Kim
@ 2012-07-04  6:40   ` David Rientjes
  -1 siblings, 0 replies; 4+ messages in thread
From: David Rientjes @ 2012-07-04  6:40 UTC (permalink / raw)
  To: Minchan Kim, Ingo Molnar
  Cc: Andrew Morton, linux-kernel, linux-mm, Peter Zijlstra

On Wed, 4 Jul 2012, Minchan Kim wrote:

> 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.

> [1]: mm/mpol: Remove NUMA_INTERLEAVE_HIT
> 

That sha1 is going to become useless very soon.

> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Cc: Ingo Molnar <mingo@kernel.org>
> Signed-off-by: Minchan Kim <minchan@kernel.org>

Acked-by: David Rientjes <rientjes@google.com>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] mm: fix vmstat and zonestat mismatch
@ 2012-07-04  6:40   ` David Rientjes
  0 siblings, 0 replies; 4+ messages in thread
From: David Rientjes @ 2012-07-04  6:40 UTC (permalink / raw)
  To: Minchan Kim, Ingo Molnar
  Cc: Andrew Morton, linux-kernel, linux-mm, Peter Zijlstra

On Wed, 4 Jul 2012, Minchan Kim wrote:

> 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.

> [1]: mm/mpol: Remove NUMA_INTERLEAVE_HIT
> 

That sha1 is going to become useless very soon.

> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Cc: Ingo Molnar <mingo@kernel.org>
> Signed-off-by: Minchan Kim <minchan@kernel.org>

Acked-by: David Rientjes <rientjes@google.com>

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 majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-04  6:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-04  0:56 [PATCH] mm: fix vmstat and zonestat mismatch Minchan Kim
2012-07-04  0:56 ` Minchan Kim
2012-07-04  6:40 ` David Rientjes
2012-07-04  6:40   ` David Rientjes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.