What is kmemleak_alloc used for?

yoma sophian sophian.yoma at gmail.com
Sun Apr 19 04:36:51 EDT 2015

hi all:
I found in alloc_bootmem_bdata, kmem_cache_alloc, kmalloc, vmalloc,
they will call kmemleak_alloc.

Would anyone know why we have to do so for calling kmemleak_alloc at
different places?

appreciate your kind help,

More information about the Kernelnewbies mailing list