[Patch] fix an error in /proc/slabinfo print

2005-02-03 Thread Zou Nan hai
There is an obvious error in the header of /proc/slabinfo

Signed-off-by: Zou Nan hai <[EMAIL PROTECTED]>

--- linux-2.6.11-rc3/mm/slab.c  2005-02-03 13:29:33.0 +0800
+++ linux-2.6.11-rc3-fix/mm/slab.c  2005-02-03 13:32:42.318821400 +0800
@@ -2860,7 +2860,7 @@ static void *s_start(struct seq_file *m,
seq_puts(m, "slabinfo - version: 2.1\n");
 #endif
seq_puts(m, "# name  
  ");
-   seq_puts(m, " : tunables   ");
+   seq_puts(m, " : tunables   ");
seq_puts(m, " : slabdata   
");
 #if STATS
seq_puts(m, " : globalstat
"



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[Patch] fix an error in /proc/slabinfo print

2005-02-03 Thread Zou Nan hai
There is an obvious error in the header of /proc/slabinfo

Signed-off-by: Zou Nan hai [EMAIL PROTECTED]

--- linux-2.6.11-rc3/mm/slab.c  2005-02-03 13:29:33.0 +0800
+++ linux-2.6.11-rc3-fix/mm/slab.c  2005-02-03 13:32:42.318821400 +0800
@@ -2860,7 +2860,7 @@ static void *s_start(struct seq_file *m,
seq_puts(m, slabinfo - version: 2.1\n);
 #endif
seq_puts(m, # nameactive_objs num_objs 
objsize objperslab pagesperslab);
-   seq_puts(m,  : tunables batchcount limit sharedfactor);
+   seq_puts(m,  : tunables limit batchcount sharedfactor);
seq_puts(m,  : slabdata active_slabs num_slabs 
sharedavail);
 #if STATS
seq_puts(m,  : globalstat listallocs maxobjs grown 
reaped



-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/