Show kmem_cache in /proc/slabinfo
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??
Quoted 2 lines · nawab
How can i show the cache created by using
kmem_cache_createin/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
Quoted 7 lines · Giedrius Statkevi?ius
Quoted 2 lines · nawab
How can i show the cache created by using
kmem_cache_createin/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.