Dear All,
In linux kernel, for all memory allocation done by vmalloc, kernel maintains memory region descriptor (vm_struct) which stores information about the linear virtual address range, no. of physical page frames allocated... as a linked list headed by vmlist symbol.
Can you please give me information about how does kernel maintain information about memory allocation done by malloc/calloc invoked by a user application ?
I understand that kernel maintains a descriptor (vm_area_struct) per application to hold information about the virtual address space allocated for the heap region.
Regards,
Prabhu