public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Why half of slabs are not shown in /proc/slabinfo?
@ 2009-06-21  7:52 Andrey Borzenkov
  2009-06-21 11:26 ` Pekka Enberg
  2009-06-21 11:36 ` Hugh Dickins
  0 siblings, 2 replies; 6+ messages in thread
From: Andrey Borzenkov @ 2009-06-21  7:52 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: Text/Plain, Size: 523 bytes --]

Mandriva kernel 2.6.30 using SLUB:

{pts/1}% grep SLUB /boot/config
CONFIG_SLUB_DEBUG=y
CONFIG_SLUB=y
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_STATS is not set

Some of slabs (e.g. filp) are not shown in /proc/slabinfo; comparing 
number of entries under /sys and slabinfo results in

{pts/0}% =ls -1 /sys/kernel/slab | grep -v : | wc -l
131
{pts/0}% wc -l /proc/slabinfo
68 /proc/slabinfo
{pts/0}%

so almost half of the all entries are missing. Is it expected or there 
is something wrong here?

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-23 17:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-21  7:52 Why half of slabs are not shown in /proc/slabinfo? Andrey Borzenkov
2009-06-21 11:26 ` Pekka Enberg
2009-06-21 11:30   ` Andrey Borzenkov
2009-06-22  6:56     ` Pekka Enberg
2009-06-23 17:43       ` Christoph Lameter
2009-06-21 11:36 ` Hugh Dickins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox