Carter Cheng
2018-12-05 20:46:15 UTC
Hello,
I was wondering if someone here could help me understand something about
the kernel for a project I am working on tracking dynamically allocated
memory. How many ways are there to dynamically allocate memory in the
kernel presently? I know of 4.
get_free_pages family of functions
kmalloc family (including vmalloc)
slab allocation
mempools.
Are there others? I am trying to track them all down so I have
comprehensively know when all allocations occur and all "frees".
Thanks for your help,
Carter.
I was wondering if someone here could help me understand something about
the kernel for a project I am working on tracking dynamically allocated
memory. How many ways are there to dynamically allocate memory in the
kernel presently? I know of 4.
get_free_pages family of functions
kmalloc family (including vmalloc)
slab allocation
mempools.
Are there others? I am trying to track them all down so I have
comprehensively know when all allocations occur and all "frees".
Thanks for your help,
Carter.