Skip to contentSkip to conversation

fix an error in /proc/slabinfo print

PATCH New Zou Nan hai 1 participant 1 message Feb 4, 2005 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix an error in /proc/slabinfo print

There is an obvious error in the header of /proc/slabinfo

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