* Show kmem_cache in /proc/slabinfo
@ 2015-01-17 4:25 nawab
2015-01-17 7:23 ` Giedrius Statkevičius
0 siblings, 1 reply; 3+ messages in thread
From: nawab @ 2015-01-17 4:25 UTC (permalink / raw)
To: kernelnewbies
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??
^ permalink raw reply [flat|nested] 3+ messages in thread
* Show kmem_cache in /proc/slabinfo
2015-01-17 4:25 Show kmem_cache in /proc/slabinfo nawab
@ 2015-01-17 7:23 ` Giedrius Statkevičius
2015-01-22 20:57 ` Christoph Lameter
0 siblings, 1 reply; 3+ messages in thread
From: Giedrius Statkevičius @ 2015-01-17 7:23 UTC (permalink / raw)
To: kernelnewbies
On 2015.01.17 06:25, nawab wrote:
> 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.
--
Thanks,
Giedrius
^ permalink raw reply [flat|nested] 3+ messages in thread
* Show kmem_cache in /proc/slabinfo
2015-01-17 7:23 ` Giedrius Statkevičius
@ 2015-01-22 20:57 ` Christoph Lameter
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Lameter @ 2015-01-22 20:57 UTC (permalink / raw)
To: kernelnewbies
On Sat, 17 Jan 2015, Giedrius Statkevi?ius wrote:
> On 2015.01.17 06:25, nawab wrote:
> > 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-22 20:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-17 4:25 Show kmem_cache in /proc/slabinfo nawab
2015-01-17 7:23 ` Giedrius Statkevičius
2015-01-22 20:57 ` Christoph Lameter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).