All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add vmstat_text for NR_WRITEBACK_TEMP
@ 2008-04-22 17:58 Lee Schermerhorn
  2008-04-22 18:12 ` Miklos Szeredi
  0 siblings, 1 reply; 2+ messages in thread
From: Lee Schermerhorn @ 2008-04-22 17:58 UTC (permalink / raw)
  To: Andrew Morton; +Cc: mszeredi, linux-kernel

PATCH - add vmstat_test for NR_WRITEBACK_TEMP

Against:  2.6.25-rc8-mm2 [maybe also missing in '.25-mm1]

/proc/vmstat items after "nr_vmscan_write" are off-by-one
because of missing test for NR_WRITEBACK_TEMP that was added
to mmzone.h.  

Apparently from:

	mm-add-nr_writeback_temp-counter.patch

in -mm tree.

Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>

 mm/vmstat.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6.25-rc8-mm2/mm/vmstat.c
===================================================================
--- linux-2.6.25-rc8-mm2.orig/mm/vmstat.c	2008-04-15 12:07:18.000000000 -0400
+++ linux-2.6.25-rc8-mm2/mm/vmstat.c	2008-04-15 12:11:48.000000000 -0400
@@ -699,6 +699,7 @@ static const char * const vmstat_text[] 
 	"nr_unstable",
 	"nr_bounce",
 	"nr_vmscan_write",
+	"nr_writeback_temp",
 
 #ifdef CONFIG_NUMA
 	"numa_hit",



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

* Re: [PATCH] add vmstat_text for NR_WRITEBACK_TEMP
  2008-04-22 17:58 [PATCH] add vmstat_text for NR_WRITEBACK_TEMP Lee Schermerhorn
@ 2008-04-22 18:12 ` Miklos Szeredi
  0 siblings, 0 replies; 2+ messages in thread
From: Miklos Szeredi @ 2008-04-22 18:12 UTC (permalink / raw)
  To: Lee Schermerhorn; +Cc: Andrew Morton, linux-kernel


On Tue, 2008-04-22 at 13:58 -0400, Lee Schermerhorn wrote:
> PATCH - add vmstat_test for NR_WRITEBACK_TEMP
> 
> Against:  2.6.25-rc8-mm2 [maybe also missing in '.25-mm1]
> 
> /proc/vmstat items after "nr_vmscan_write" are off-by-one
> because of missing test for NR_WRITEBACK_TEMP that was added
> to mmzone.h.  
> 
> Apparently from:
> 
> 	mm-add-nr_writeback_temp-counter.patch
> 
> in -mm tree.
> 
> Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>

Acked-by: Miklos Szeredi <mszeredi@suse.cz>

Thanks,
Miklos

> 
>  mm/vmstat.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> Index: linux-2.6.25-rc8-mm2/mm/vmstat.c
> ===================================================================
> --- linux-2.6.25-rc8-mm2.orig/mm/vmstat.c	2008-04-15 12:07:18.000000000 -0400
> +++ linux-2.6.25-rc8-mm2/mm/vmstat.c	2008-04-15 12:11:48.000000000 -0400
> @@ -699,6 +699,7 @@ static const char * const vmstat_text[] 
>  	"nr_unstable",
>  	"nr_bounce",
>  	"nr_vmscan_write",
> +	"nr_writeback_temp",
>  
>  #ifdef CONFIG_NUMA
>  	"numa_hit",
> 
> 


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

end of thread, other threads:[~2008-04-22 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22 17:58 [PATCH] add vmstat_text for NR_WRITEBACK_TEMP Lee Schermerhorn
2008-04-22 18:12 ` Miklos Szeredi

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.