Tagged articles
25 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Apr 5, 2026 · Fundamentals

How Linux’s Buddy System and SLUB Allocator Power Efficient Memory Management

This article explains the core principles of Linux kernel memory management, detailing how the buddy system handles large contiguous pages while the SLUB allocator optimizes small-object allocation, and compares their performance, fragmentation handling, and real‑world usage in servers and embedded devices.

Linux kernelMemory ManagementOS fundamentals
0 likes · 43 min read
How Linux’s Buddy System and SLUB Allocator Power Efficient Memory Management
AI Code to Success
AI Code to Success
Mar 31, 2026 · Artificial Intelligence

Inside Claude Code: Hidden AI Agent Features Unveiled from the Source Leak

A deep technical dive reveals Claude Code's secret Buddy system, Auto‑Dream memory consolidation, the always‑on KAIROS mode, and powerful Ultra planning and review tools, exposing how Anthropic’s AI agent architecture works and why the recent source leak matters for developers worldwide.

AI agentsAnthropicAuto-dream
0 likes · 7 min read
Inside Claude Code: Hidden AI Agent Features Unveiled from the Source Leak
Deepin Linux
Deepin Linux
Dec 14, 2025 · Fundamentals

Why Linux Kernel Memory Layout Is the Hidden Key to Preventing OOM Crashes

This article reveals how Linux kernel memory layout—its partitions, address allocation, and resource scheduling—directly impacts system stability, explains the roles of each memory region, demonstrates common pitfalls like fragmentation and dentry leaks, and provides practical debugging and optimization techniques for developers and operators.

Kernel MemoryLinuxMemory Management
0 likes · 60 min read
Why Linux Kernel Memory Layout Is the Hidden Key to Preventing OOM Crashes
Deepin Linux
Deepin Linux
Dec 13, 2024 · Fundamentals

Understanding the Linux Kernel Buddy Memory Allocation Algorithm

This article explains the Linux kernel buddy system, detailing its data structures, initialization, allocation and free processes, and discusses its advantages and drawbacks in managing physical memory and reducing fragmentation.

Free AreaLinuxbuddy system
0 likes · 22 min read
Understanding the Linux Kernel Buddy Memory Allocation Algorithm
Open Source Linux
Open Source Linux
Mar 28, 2024 · Fundamentals

Unlocking Linux Memory: From Basics to Advanced Allocation Algorithms

This comprehensive guide explores Linux memory fundamentals, address space layout, fragmentation causes, and optimization techniques, detailing the buddy and slab allocation algorithms, memory pools, DMA handling, user‑space allocation functions, common pitfalls, and tools for monitoring and debugging memory usage on Linux systems.

LinuxSlab Allocatorbuddy system
0 likes · 20 min read
Unlocking Linux Memory: From Basics to Advanced Allocation Algorithms
Liangxu Linux
Liangxu Linux
Oct 4, 2023 · Fundamentals

Understanding Linux Memory Management: Physical, Virtual, and Page Tables

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.

Virtual Memorybuddy systempage-tables
0 likes · 12 min read
Understanding Linux Memory Management: Physical, Virtual, and Page Tables
Open Source Linux
Open Source Linux
Jul 17, 2023 · Backend Development

Unlocking Linux Memory: From Address Spaces to Allocation Algorithms

This comprehensive guide explores Linux memory fundamentals, address space layout, fragmentation, the buddy and slab allocation algorithms, kernel and user‑space memory usage scenarios, and common pitfalls, providing backend developers with practical insights to improve performance and stability.

Allocation AlgorithmsDMALinux
0 likes · 20 min read
Unlocking Linux Memory: From Address Spaces to Allocation Algorithms
Open Source Linux
Open Source Linux
Jun 26, 2023 · Fundamentals

How Linux Organizes Memory: From Physical Pages to Virtual Address Mapping

This article explains how Linux manages memory by organizing physical pages, using zones and nodes, allocating memory with the buddy system and SLUB, structuring user and kernel virtual address spaces, and translating virtual addresses to physical ones via page tables, TLBs, and dynamic mapping.

LinuxMemory ManagementPage Table
0 likes · 13 min read
How Linux Organizes Memory: From Physical Pages to Virtual Address Mapping
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 10, 2023 · Fundamentals

CMA (Contiguous Memory Allocator) Technical Principle Analysis and Source Code Interpretation

Linux’s Contiguous Memory Allocator (CMA) reserves and manages large physical memory blocks for devices by integrating with the Buddy system, using structures like struct cma, bitmap allocation, and APIs such as cma_init_reserved_mem and cma_alloc, while handling page migration, LRU and per‑CPU PCP caches to ensure efficient allocation and release.

CMAContiguous Memorybuddy system
0 likes · 15 min read
CMA (Contiguous Memory Allocator) Technical Principle Analysis and Source Code Interpretation
ITPUB
ITPUB
May 10, 2022 · Fundamentals

Master Linux Memory Management: Virtual & Physical Memory Explained

This article provides a comprehensive guide to Linux memory management on x86‑32 systems, covering virtual address spaces, physical address translation, memory zones, user and kernel space layouts, the buddy and slab allocators, malloc/kmalloc/vmalloc mechanisms, and useful commands for inspecting memory usage.

KernelLinuxPhysical Memory
0 likes · 25 min read
Master Linux Memory Management: Virtual & Physical Memory Explained
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 3, 2020 · Fundamentals

Overview of Linux Physical Memory Fragmentation and Management

Linux uses a buddy‑system allocator organized into nodes and zones to manage physical memory, distinguishing internal fragmentation (unused space within allocated blocks) from external fragmentation (insufficient contiguous free blocks), and mitigates the latter through memory compaction, the kcompactd daemon, and various allocation‑policy optimizations.

LinuxPhysical Fragmentationbuddy system
0 likes · 12 min read
Overview of Linux Physical Memory Fragmentation and Management
ITPUB
ITPUB
Jun 18, 2020 · Fundamentals

Mastering Linux Memory Management: From Address Space to Allocation Algorithms

This article provides a comprehensive guide to Linux memory management, covering the memory organization, address spaces, fragmentation causes and mitigation, the buddy and slab allocation algorithms, kernel and user‑space memory pools, common pitfalls, and practical tools for monitoring and debugging memory usage.

KernelLinuxMemory Management
0 likes · 20 min read
Mastering Linux Memory Management: From Address Space to Allocation Algorithms
Liangxu Linux
Liangxu Linux
Jun 14, 2020 · Fundamentals

Unlocking Linux Memory: From Basics to Advanced Allocation Strategies

This comprehensive guide explores Linux memory architecture, address spaces, paging, fragmentation, buddy and slab allocation algorithms, kernel and user‑space memory pools, DMA handling, practical usage scenarios, and common pitfalls, providing developers with actionable insights to optimize system performance.

Allocation AlgorithmsKernelLinux
0 likes · 21 min read
Unlocking Linux Memory: From Basics to Advanced Allocation Strategies
ITPUB
ITPUB
Dec 28, 2018 · Fundamentals

Unlocking Linux Memory: Architecture, Allocation Algorithms, and Common Pitfalls

This comprehensive guide explores Linux memory architecture, address spaces, allocation algorithms like the buddy system and slab allocator, DMA handling, user‑space allocation functions, and practical pitfalls, providing developers with essential insights to optimize performance and avoid common errors.

DMALinuxMemory Management
0 likes · 20 min read
Unlocking Linux Memory: Architecture, Allocation Algorithms, and Common Pitfalls