Tagged articles

brk system call

1 articles · Page 1 of 1
Liangxu Linux
Liangxu Linux
May 9, 2021 · Fundamentals

How Linux Allocates Heap Memory: Inside vm_area_struct and the brk System Call

This article explains the Linux kernel's heap memory allocation process, covering the vm_area_struct and mm_struct data structures, the brk system call implementation, and the page‑fault handling that maps virtual addresses to physical memory, while also mentioning other allocation mechanisms such as mmap and HugePages.

Linux kernelPage Faultbrk system call
0 likes · 12 min read
How Linux Allocates Heap Memory: Inside vm_area_struct and the brk System Call