Skip to contentSkip to conversation

Show kmem_cache in /proc/slabinfo

DISCUSSION nawab 3 participants 3 messages Jan 17, 2015 – Jan 22, 2015

lore
Share & tools
lore

nawab

author
#0 lore raw

How can i show the cache created by using kmem_cache_create in /proc/slabinfo...

If we have an constructor then i am able to have the cache in /proc/slabinfo...

Without constructor can we do??

#1 lore raw
Quoted 2 lines · nawab

How can i show the cache created by using kmem_cache_create in /proc/slabinfo...

Is this related to the eudyptula challenge? If so, please figure out everything yourself and avoid asking questions on mailing lists. Otherwise you might get removed from the challenge.

Signature · 2 lines
Thanks,
Giedrius
#2 lore raw
Quoted 7 lines · Giedrius Statkevi?ius
Quoted 2 lines · nawab

How can i show the cache created by using kmem_cache_create in /proc/slabinfo...

Is this related to the eudyptula challenge? If so, please figure out everything yourself and avoid asking questions on mailing lists. Otherwise you might get removed from the challenge.

Well you wont be seeing the slab if using SLUB and you ask to create a slab of a size and with characteristics that already exists. In that case the system simply creates an alias and reuses the existing slab.

Please use the "slabinfo" tool when using SLUB.

slabinfo -a

will show the aliased slabs.