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

From: Pete Zaitcev (zaitcev@redhat.com)
Date: Mon Oct 01 2001 - 12:09:34 EST


> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:15 EST