[PATCH] add vmstat_text for NR_WRITEBACK_TEMP

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <mszeredi@...>, linux-kernel <linux-kernel@...>
Date: Tuesday, April 22, 2008 - 1:58 pm

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",


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] add vmstat_text for NR_WRITEBACK_TEMP, Lee Schermerhorn, (Tue Apr 22, 1:58 pm)
Re: [PATCH] add vmstat_text for NR_WRITEBACK_TEMP, Miklos Szeredi, (Tue Apr 22, 2:12 pm)