Hi ,
If will be really nice to list out what these values are when one does
$more /proc/slabinfo. It is just a one line code that busy people
really don't have time to look into :) Any how here is the one line code
with some lines above.
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");
-aneesh
> 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