Deepin Linux
Author

Deepin Linux

Research areas: Windows & Linux platforms, C/C++ backend development, embedded systems and Linux kernel, etc.

419
Articles
1
Likes
1.4k
Views
0
Comments
Recent Articles

Latest from Deepin Linux

100 recent articles max
Deepin Linux
Deepin Linux
Apr 27, 2026 · Fundamentals

Understanding the SLUB Memory Allocator: A Deep Dive into Linux Kernel Object Management

SLUB, the default Linux kernel memory allocator, reduces fragmentation and improves allocation speed for frequently created objects like task_struct and inode by using per‑CPU caches, object slabs, and NUMA‑aware node caches, with detailed structures, allocation/free paths, tuning parameters, and real‑world case studies.

Linux kernelNUMAPerformance Tuning
0 likes · 46 min read
Understanding the SLUB Memory Allocator: A Deep Dive into Linux Kernel Object Management
Deepin Linux
Deepin Linux
Apr 25, 2026 · Fundamentals

Mastering Mutex Locks: Solving Linux Kernel Synchronization Challenges in One Article

This article provides a comprehensive deep‑dive into Linux kernel mutex locks, explaining their principles, implementation, and APIs, and demonstrates through detailed C/C++ examples how to use them safely to avoid data races, deadlocks, and performance bottlenecks in multithreaded kernel and user‑space code.

DeadlockLinux kernelPerformance
0 likes · 46 min read
Mastering Mutex Locks: Solving Linux Kernel Synchronization Challenges in One Article
Deepin Linux
Deepin Linux
Apr 23, 2026 · Fundamentals

Master Spinlock: Understand Linux Kernel Synchronization and Avoid Deadlocks

This article explains Linux kernel spinlocks—from basic concepts and atomic operations to memory barriers, busy‑waiting, and proper usage—illustrating common pitfalls like deadlocks, priority inversion, and recursion, and provides practical guidelines, code examples, and debugging tools to help developers implement safe, efficient synchronization.

C++ atomicLinux kernelLockdep
0 likes · 36 min read
Master Spinlock: Understand Linux Kernel Synchronization and Avoid Deadlocks
Deepin Linux
Deepin Linux
Apr 22, 2026 · Fundamentals

Why Page Cache Is the Hidden Engine Behind Linux I/O Performance

The article explains how Linux’s page cache bridges memory and disk, detailing its read/write mechanisms, dirty page handling, pre‑read optimization, kernel parameters, and practical tuning tips for static file serving, databases, and logging, showing why mastering it is essential for performance.

Dirty PagesI/O PerformanceKernel
0 likes · 30 min read
Why Page Cache Is the Hidden Engine Behind Linux I/O Performance
Deepin Linux
Deepin Linux
Apr 21, 2026 · Fundamentals

Unlocking Linux VFS: How the Virtual File System Powers All File Operations

This article provides a deep technical walkthrough of Linux's Virtual File System (VFS), explaining its design goals, core data structures, caching mechanisms, and step‑by‑step file operation flows—including mount, open, read, and write—while illustrating each concept with concrete code examples and real‑world scenarios.

File OperationsKernelLinux
0 likes · 27 min read
Unlocking Linux VFS: How the Virtual File System Powers All File Operations
Deepin Linux
Deepin Linux
Apr 20, 2026 · Fundamentals

Unlocking the Linux Kernel: From Core Concepts to Hands‑On Module Development

This comprehensive guide explores the Linux kernel’s architecture, core subsystems, source‑tree layout, and dynamic module management while offering practical learning paths, essential command‑line tools, code examples, and curated reading material for anyone aiming to master operating‑system internals.

Linux kernelOperating systemSystem Programming
0 likes · 56 min read
Unlocking the Linux Kernel: From Core Concepts to Hands‑On Module Development
Deepin Linux
Deepin Linux
Apr 19, 2026 · Fundamentals

How Linux Fork Uses Copy‑On‑Write to Boost Process Creation Efficiency

This article explains the fork system call in the Linux kernel, details the copy‑on‑write (COW) mechanism that underpins its efficiency, provides code examples, and explores practical scenarios and performance implications for process creation, memory usage, and concurrent server programming.

C programmingCOWCopy-on-Write
0 likes · 36 min read
How Linux Fork Uses Copy‑On‑Write to Boost Process Creation Efficiency
Deepin Linux
Deepin Linux
Apr 18, 2026 · Fundamentals

Mastering Process Context Switching: What the CPU Actually Does

This article breaks down the fundamentals of process context switching, explaining CPU registers, program counters, the three-step switch routine, trigger conditions, performance impact, monitoring tools, and practical optimization techniques to help interview candidates answer confidently.

LinuxOperating systemPerformance optimization
0 likes · 29 min read
Mastering Process Context Switching: What the CPU Actually Does