/proc/slab_allocators question

Pietro Paolini
2014-04-03T18:02:30Z

Hello everyone,

I am experiencing a problem where the system reboot due low memory
conditions and looking at the
/proc/slabinfo

I am able to see that a lot of memory is being used by the size-1024
cache name which reports a high number of active objects, then
in order to debug this situation I tried to compile with :

CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_SLAB=y
CONFIG_DEBUG_SLAB_LEAK=y

Now I am able to cat the /proc/slab_allocators leaf but that name, nor
either all the size-* - are present
in that output, I guess because that memory is used by the kmalloc()
functions.

Than how can I trace who allocates all that memory in my system ?

Best Regards,
Pietro