Skip to contentSkip to conversation

/proc/slabinfo formatting cosmetic fix (2.6.0-test1)

PATCH New [email protected] 1 participant 1 message Jul 18, 2003 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 /proc/slabinfo formatting cosmetic fix (2.6.0-test1)

The slabinfo header line seems to have unbalanced <> pairs.

mm/slab.c +2 -2
@@ -2482,11 +2482,11 @@
 		seq_puts(m, "slabinfo - version: 2.0\n");
 #endif
 		seq_puts(m, "# name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab>");
-		seq_puts(m, " : tunables <batchcount> <limit <sharedfactor>");
+		seq_puts(m, " : tunables <batchcount> <limit> <sharedfactor>");
 		seq_puts(m, " : slabdata <active_slabs> <num_slabs> <sharedavail>");
 #if STATS
 		seq_puts(m, " : globalstat <listallocs> <maxobjs> <grown> <reaped> <error> <maxfreeable> <freelimit>");
-		seq_puts(m, " : cpustat <allochit <allocmiss <freehit <freemiss>");
+		seq_puts(m, " : cpustat <allochit> <allocmiss> <freehit> <freemiss>");
 #endif
 		seq_putc(m, '\n');
 	}