linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux SLAB allocator issue
@ 2006-06-06 20:58 Xin Zhao
  2006-06-07 12:16 ` Pekka Enberg
  0 siblings, 1 reply; 4+ messages in thread
From: Xin Zhao @ 2006-06-06 20:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-fsdevel

Hi,

I am trying to check how many slabs are used for inode_cache, but
found that all slabs are added to slabs_full list, and slabs_partial
is always empty. Even if the active object number does not exactly
occupy all slabs.

Does that mean Linux 2.6 remove the use of slabs_partial?

Another question, the constructor transfered to the
kmem_cache_create() function is called for every object in a slab when
it is created. Is this true? Is there any way to call back a function
_only once_ when a new slab is allocated?

Thanks,
Xin

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

end of thread, other threads:[~2006-06-07 17:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-06 20:58 Linux SLAB allocator issue Xin Zhao
2006-06-07 12:16 ` Pekka Enberg
2006-06-07 15:37   ` Xin Zhao
2006-06-07 17:41     ` 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).