Tagged articles
page-tables
31 articles · Page 1 of 1
Linux’s default 4 KB pages cause massive page tables and TLB misses in high‑memory workloads; this article explains the HugePage mechanism, its types, how it reduces page‑table entries, improves TLB hit rates, lowers fragmentation, and provides step‑by‑step configuration for static and transparent huge pages in production.
HugePagesLinuxPerformance Tuning
0 likes · 39 min read

This article explains the role of the Memory Management Unit (MMU) and paging in modern operating systems, covering hardware structure, address translation, permission checks, page tables, TLB behavior, virtual memory mechanisms, and practical Linux kernel code examples for memory protection, sharing, and performance optimization.
LinuxMMUTLB
0 likes · 58 min read

This article explains the fundamentals of Linux arm64 memory management, covering virtual and physical memory concepts, MMU operation, page table structures, address translation steps, page fault handling, and practical C++ examples for allocation, mapping, and performance optimization using huge pages and pre‑paging techniques.
Linuxarm64memory management
0 likes · 38 min read

This article explains how the x86‑64 paging mechanism maps virtual addresses to physical memory, detailing the required protection‑mode conditions, page‑table structures, control‑register settings, various paging modes (32‑bit, PAE, 4‑level, 5‑level), and provides concrete kernel code examples and address‑translation demonstrations.
4-level-pagingLinux kernelPAE
0 likes · 40 min read

This article explains the role, operation, and different modes of x86‑64 memory paging, describes how page directories and tables are set up in assembly, shows the relevant control‑register bits, and provides practical code examples for enabling and managing paging in a protected‑mode kernel.
memory pagingpage-tablesx86_64
0 likes · 43 min read

This article explains Linux's paging mechanism, covering the basics of virtual memory, page tables, multi‑level paging structures, virtual memory layout, allocation and reclamation strategies, and the performance and security benefits that paging brings to modern operating systems.
Linuxpage-tablespaging
0 likes · 27 min read

The article explains the evolution from segment to paging addressing, details Linux’s multi‑level page‑table structures for x86 and ARM, walks through key macros and assembly routines, and provides a complete kernel module example that translates a virtual address to its physical counterpart.
ARMpage-tablespaging
0 likes · 21 min read

This article explains Linux's memory management architecture, covering physical memory organization, the buddy and SLUB allocators, virtual address spaces for user and kernel, page‑table translation, TLB caching, and the role of swap in virtual memory.
LinuxSLUBbuddy system
0 likes · 13 min read

The article explains Linux kernel reverse‑mapping (RMAP), describing its purpose for efficient page‑reclaim, the underlying data structures such as vm_area_struct, anon_vma and anon_vma_chain, and shows how anonymous and file pages are tracked and unmapped through detailed code examples.
Anonymous PagesLinuxRMAP
0 likes · 16 min read

This article explains how Linux organizes physical memory, allocates pages using the buddy system and SLUB, structures virtual address spaces for user and kernel modes, and maps virtual addresses to physical memory through page tables, TLBs, and dynamic mappings.
Linuxmemory managementoperating system
0 likes · 12 min read

This article explains how Linux organizes physical memory into pages, zones, and nodes, allocates memory using the buddy system and SLUB, structures virtual address spaces for user and kernel, and maps virtual addresses to physical memory through page tables, dynamic mapping, and TLB caching.
buddy systempage-tablesvirtual memory
0 likes · 12 min read

This comprehensive guide walks through Linux memory management, explaining CPU memory access, virtual‑to‑physical address translation, page‑table structures, zone organization, the buddy and slab allocators, vmalloc, page‑fault handling, and the Contiguous Memory Allocator (CMA) with detailed code examples and diagrams.
CMAbuddy allocatorpage-tables
0 likes · 29 min read

This article explains Linux's memory management, detailing how physical memory is organized into pages, zones, and nodes, how virtual addresses are structured for user and kernel space, and how page tables, the buddy system, SLUB, and TLB work together to map virtual addresses to physical memory.
LinuxOS fundamentalsmemory management
0 likes · 12 min read

This article walks through the Linux kernel's memory‑management subsystem, explaining how virtual memory is linked to physical memory via page tables, covering single‑level, two‑level and multi‑level paging, the structure of page‑table entries, the role of the MMU and TLB, and the complete CPU address‑translation process.
Linuxmemory managementoperating system fundamentals
0 likes · 67 min read

This article explains how modern computer systems use a hierarchical memory structure and virtual memory to overcome physical memory limitations, address translation challenges, fragmentation, and security issues, detailing concepts such as page tables, TLB caching, multi‑level paging, and practical examples.
TLBaddress translationmemory hierarchy
0 likes · 21 min read

Virtual memory abstracts physical memory, giving each process a private, contiguous address space, and relies on CPU virtual addressing, MMU translation, page tables, TLB caching, multi-level paging, Linux’s memory mapping, dynamic allocation, and garbage collection to efficiently manage memory and protect processes.
Linuxmemory managementoperating system
0 likes · 29 min read

This article explains the concepts and mechanisms of virtual memory, covering CPU virtual addressing, page tables, TLB caching, page faults, multi‑level page tables, Linux's memory‑mapping structures, and dynamic allocation strategies such as fragmentation and garbage collection.
LinuxTLBmemory management
0 likes · 27 min read

This article explains why a Linux process’s address space contains the kernel, covering virtual memory concepts, user and kernel mode separation, page table mappings, and how mapping the kernel into each process avoids costly page‑table switches during system calls, interrupts, and exceptions.
Process Address Spacekernel mappingoperating system
0 likes · 5 min read

Virtual memory abstracts physical memory, providing each process with a private, contiguous address space, while the CPU, MMU, page tables, TLB, and paging mechanisms collaborate to translate virtual addresses, manage page faults, and optimize performance through locality, multi‑level tables, and memory‑mapped files.
TLBmemory managementoperating-systems
0 likes · 31 min read

The article explains how modern computers use fast SRAM caches (L1‑L3) inside the CPU with various mapping schemes and the MESI coherence protocol to keep data consistent, while DRAM serves as main memory, and virtual memory with multi‑level page tables and a TLB abstracts physical memory, provides isolation, and enables swapping.
CPU cacheMESI protocolTLB
0 likes · 16 min read

This article explains the copy‑on‑write mechanism in Linux by examining page‑table structures, the fork process, and the page‑fault handling code in Linux 0.11, illustrating how the kernel uses read‑only page mappings and page‑fault interrupts to lazily duplicate memory pages.
Linuxcopy-on-writefork
0 likes · 9 min read

The article explains the Linux kernel boot process on ARM platforms, covering how the bootloader loads and decompresses the gzipped kernel image, the entry points of the compressed zImage, the early serial output, the initialization of the MMU and page tables, and the transition to the main C kernel code.
ARMBootLinux
0 likes · 9 min read

This article explains the fundamentals of virtual memory in Linux, covering its purpose, paging and page tables, address translation, swap usage, common questions about 32‑ vs 64‑bit systems, direct memory access, JVM memory consumption, and essential commands for monitoring and configuring memory.
Linuxpage-tablespaging
0 likes · 11 min read

This article demystifies Linux memory accounting by explaining the differences between RSS, free, buffers/cache, slab, and page tables, showing how to interpret the free command output, use tools like nmon and slabtop, and providing scripts to calculate actual memory consumption.
RSSSLABmemory-management
0 likes · 10 min read

This article explains why virtual memory is essential in modern operating systems, covering its role as an abstraction layer, caching benefits, memory protection, multi‑level page tables, and how it enables efficient resource utilization and process isolation.
Cachingmemory managementmemory protection
0 likes · 11 min read

This article explains the necessity of virtual memory in modern operating systems, covering its role as an abstraction layer, caching benefits, memory protection, multi‑level page tables, process isolation, and how these mechanisms improve performance, security, and resource utilization.
Cacheoperating-systemspage-tables
0 likes · 13 min read

This article explains the physical characteristics of RAM, the concept of virtual memory, how address translation works, and why Linux uses paging and multi‑level page tables to efficiently manage memory.
Memoryoperating systempage-tables
0 likes · 13 min read

An in‑depth guide explains how Linux memory works, covering physical memory basics, the role of virtual memory, paging mechanisms, and the multi‑level page‑table architecture that enables efficient, isolated, and secure process memory management.
Linuxoperating systempage-tables
0 likes · 12 min read


21CTOAug 1, 2018 · Fundamentals
This article explains how memory serves as the main storage for processes, introduces the concepts of virtual memory and paging, and describes how page tables and multi‑level paging enable efficient address translation, isolation, and sharing in modern operating systems.
memory managementpage-tablespaging
0 likes · 12 min read

This article explains how computer memory works, covering physical memory characteristics, address spaces, RAM's random access nature, virtual memory translation, paging mechanisms, page size queries, and multi‑level page tables that enable efficient and secure memory management in Linux.
Linuxmemory managementoperating system
0 likes · 13 min read

This article explains Linux’s hardware‑independent three‑tier physical memory model (node, zone, page) and the three‑level virtual memory page‑table hierarchy (PGD, PMD, PTE), including key macros, structure definitions, and the macros used to walk the tables from a virtual address to a physical page.
Linuxmemory managementoperating system fundamentals
0 likes · 6 min read
