A couple of questions about slabifo

From: Ilya (katsnelson_at_gmail.com)
Date: 01/17/05


Date: 17 Jan 2005 14:20:59 -0800

Hi:

Just two clarification questions that should be easy to answer by the
knowing ones:

1. Does all the dynamic memory allocated in the kernel listed in the
/proc/slabinfo file? There isn't any more memory that kernel uses which
is not reflected in slabinfo?

2. There are several rows at the bottom of slabinfo file that all start
with 'size-'. Are they represent the memory allocated for the 'buddy'
allocation system? Also, what is the physical difference between the
size-xxx and size-xxx(DMA)?

3. Is there a fundamental difference between the inode_cache line in
/proc/slabinfo and the 'Cached' line in the /proc/memifo? Do the both
entries represent the same or different areas of memory?
Thanks so much,
Ilya.