Tag

Page Tables

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Mar 25, 2025 · Fundamentals

Understanding x86-64 Memory Paging Mechanism and Its Implementation

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.

Operating SystemPage TablesVirtual Memory
0 likes · 43 min read
Understanding x86-64 Memory Paging Mechanism and Its Implementation
Deepin Linux
Deepin Linux
Jan 1, 2025 · Fundamentals

Understanding Linux Paging Mechanism and Virtual Memory Management

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.

LinuxMemory ManagementPage Tables
0 likes · 27 min read
Understanding Linux Paging Mechanism and Virtual Memory Management
Deepin Linux
Deepin Linux
Jul 15, 2024 · Fundamentals

Understanding Memory Paging and Page Table Structures in x86-64

Memory paging, a core memory‑management technique used in modern operating systems and x86‑64 processors, divides physical memory into fixed‑size pages, enabling virtual memory, isolation, sharing, lazy loading, and protection, while the article explains page tables, hierarchical paging modes, and provides assembly code for enabling paging.

Operating SystemsPage TablesVirtual Memory
0 likes · 34 min read
Understanding Memory Paging and Page Table Structures in x86-64
Tencent Cloud Developer
Tencent Cloud Developer
Nov 1, 2022 · Fundamentals

Understanding CPU Cache, Memory Hierarchy, and Virtual Memory

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 cacheCache CoherenceMESI protocol
0 likes · 16 min read
Understanding CPU Cache, Memory Hierarchy, and Virtual Memory
IT Services Circle
IT Services Circle
Mar 22, 2022 · Fundamentals

Understanding Copy‑On‑Write in the Linux Kernel Using Linux 0.11 Source Code

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.

Copy-on-WriteKernelLinux
0 likes · 9 min read
Understanding Copy‑On‑Write in the Linux Kernel Using Linux 0.11 Source Code