Skip to contentSkip to conversation

add vmstat_text for NR_WRITEBACK_TEMP

PATCH In review Lee Schermerhorn 2 participants 2 messages Apr 22, 2008

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

PATCH 1/1 add vmstat_text for NR_WRITEBACK_TEMP

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.

 mm/vmstat.c |    1 +
 1 file changed, 1 insertion(+)
mm/vmstat.c +1 -0
Index: linux-2.6.25-rc8-mm2/mm/vmstat.c
===================================================================
@@ -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",
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Lee Schermerhorn

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.

Quoted 7 lines

Apparently from:

mm-add-nr_writeback_temp-counter.patch

in -mm tree.

Thanks,
Miklos

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

Index: linux-2.6.25-rc8-mm2/mm/vmstat.c
===================================================================

mm/vmstat.c +1 -0
@@ -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",