2005-02-04 00:41:02

by Zou, Nanhai

[permalink] [raw]
Subject: [Patch] fix an error in /proc/slabinfo print

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.000000000 +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 <active_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>"