Commit 40f35d04 authored by Zou Nanhai's avatar Zou Nanhai Committed by Linus Torvalds

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

There is an obvious error in the header of /proc/slabinfo
Signed-off-by: default avatarZou Nan hai <nanhai.zou@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5054f146
...@@ -2860,7 +2860,7 @@ static void *s_start(struct seq_file *m, loff_t *pos) ...@@ -2860,7 +2860,7 @@ static void *s_start(struct seq_file *m, loff_t *pos)
seq_puts(m, "slabinfo - version: 2.1\n"); seq_puts(m, "slabinfo - version: 2.1\n");
#endif #endif
seq_puts(m, "# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab>"); 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>"); seq_puts(m, " : slabdata <active_slabs> <num_slabs> <sharedavail>");
#if STATS #if STATS
seq_puts(m, " : globalstat <listallocs> <maxobjs> <grown> <reaped>" seq_puts(m, " : globalstat <listallocs> <maxobjs> <grown> <reaped>"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment