MaGe Linux Operations
MaGe Linux Operations
Dec 17, 2023 · Fundamentals

How Linux Kernel Manages Dynamic Memory and Process Address Space

This article explains how the Linux kernel allocates dynamic memory, distinguishes kernel and user‑space allocation strategies, describes the mm_struct layout of a process address space, and shows how pages and page tables translate virtual addresses to physical memory.

KernelLinuxMemory Management
0 likes · 10 min read
How Linux Kernel Manages Dynamic Memory and Process Address Space
Liangxu Linux
Liangxu Linux
Feb 19, 2022 · Fundamentals

How Linux Manages User and Kernel Memory: A Deep Dive into mm_struct and Virtual Address Layout

This article explains the complete memory layout of a Linux process, detailing user‑space structures like mm_struct and vm_area_struct, the role of TASK_SIZE, how ELF binaries are loaded, the sys_brk implementation, and the differences between 32‑bit and 64‑bit kernel virtual address spaces.

Memory ManagementVirtual Address Spacemm_struct
0 likes · 21 min read
How Linux Manages User and Kernel Memory: A Deep Dive into mm_struct and Virtual Address Layout