I'm doing my project about "Kernel Memory Allocation"
Anybody knows where can I find information about it?
Thanks in advance.
"The Slab Allocator: An Object-Caching Kernel Memory Allocator" by Jeff Bonwick
I have a simple C program that allocates a bunch of memory and free's it
When I run this program, I do not see this memory being reclaimed by the
by top-5.6). A similar program on Windows NT works as expected(i.e memory
decreases when memory is free'd).
Any ideas why??
Appreciate any advise you can offer..
// Here is a code snippet:
int main(int argc, char** argv)
if (argc == 2)
int num_chunks = atoi(argv)/1000;
for (i=0; i<=num_chunks; i++)
buffer[i] = (char *) malloc(1000);
printf("Usage!! %s <memory size> \n",argv);