Skip to contentSkip to conversation

/proc/slabinfo doesn't give details of what it is showing.

DISCUSSION Pete Zaitcev 1 participant 1 message Oct 1, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 10 lines
      len += sprintf(page+len, "slabinfo - version: 1.1"
#if STATS
                                " (statistics)"
#endif
#ifdef CONFIG_SMP
                                " (SMP)"
#endif
                                "\n");
        len += sprintf(page+len,

"(cache-name)-----(num-active-objs)--(total-objs)--(obj-size)--(num-active-slabs)--(total-slabs)--(num-pages-per-slab)\n");

0. This is an incompatible change that is going to break userland.
1. Learn to use diff -u.
2. Headers are customarily separated by spaces, not dashes.

-- Pete