Deepin Linux
Author

Deepin Linux

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

420
Articles
1
Likes
1.4k
Views
0
Comments
Recent Articles

Latest from Deepin Linux

100 recent articles max
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
Deepin Linux
Deepin Linux
Apr 16, 2026 · Fundamentals

Why Understanding User vs. Kernel Mode Is Key to Mastering Linux

This article explains the fundamental differences between user mode and kernel mode in Linux, why the separation matters for security and stability, how mode switches occur via system calls, interrupts, and traps, and provides practical code examples and performance‑optimizing techniques such as zero‑copy and asynchronous I/O.

KernelLinuxPerformance
0 likes · 49 min read
Why Understanding User vs. Kernel Mode Is Key to Mastering Linux
Deepin Linux
Deepin Linux
Apr 12, 2026 · Fundamentals

Why TLB Matters: Unlocking Linux Kernel Performance

This article explains the role of the Translation Lookaside Buffer (TLB) in Linux virtual‑memory translation, covering basic address concepts, page‑table mechanics, TLB operation, flush and synchronization strategies, hardware vs software management, Linux kernel APIs, and a practical C benchmark comparing sequential and random memory accesses.

CachePerformance optimizationTLB
0 likes · 36 min read
Why TLB Matters: Unlocking Linux Kernel Performance
Deepin Linux
Deepin Linux
Apr 11, 2026 · Fundamentals

Why Memory Barriers Are the Hidden Foundation of Linux Kernel Concurrency

This article explains what memory barriers are, why they are essential for correct multi‑core operation in the Linux kernel, how different barrier types work, their implementation details, and practical guidelines for using them safely in synchronization primitives and driver code.

Linux kernelSynchronizationSystem Programming
0 likes · 47 min read
Why Memory Barriers Are the Hidden Foundation of Linux Kernel Concurrency
Deepin Linux
Deepin Linux
Apr 10, 2026 · Fundamentals

Unlocking Linux Networking: The Essential Role of sk_buff Explained

sk_buff is the backbone of Linux’s network stack, handling packet storage, metadata, memory management and protocol‑layer interactions; this article dissects its structure, pointer model, core operations, packet lifecycle, practical code examples, and common pitfalls such as memory shortage, data loss and performance bottlenecks.

Network Stackkernel networkingmemory management
0 likes · 54 min read
Unlocking Linux Networking: The Essential Role of sk_buff Explained
Deepin Linux
Deepin Linux
Apr 7, 2026 · Fundamentals

Why io_uring Is the Game‑Changer for Linux Asynchronous I/O (And How to Master It)

This article provides a comprehensive, step‑by‑step analysis of Linux's io_uring, covering its architecture, design principles, workflow, performance advantages over traditional models like epoll, practical C code examples, optimization techniques, real‑world use cases, and the challenges developers may face when adopting it.

C++KernelLinux
0 likes · 52 min read
Why io_uring Is the Game‑Changer for Linux Asynchronous I/O (And How to Master It)
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.

Buddy systemKernel DevelopmentLinux kernel
0 likes · 43 min read
How Linux’s Buddy System and SLUB Allocator Power Efficient Memory Management
Deepin Linux
Deepin Linux
Apr 4, 2026 · Fundamentals

Why Understanding fork, exec, and COW Is Crucial for Linux Developers

This article demystifies Linux's fork, exec, and copy‑on‑write mechanisms, explaining their inner workings, performance trade‑offs, and how they cooperate during typical command execution, while providing clear code examples and practical insights for developers and interview preparation.

COWKernelLinux
0 likes · 38 min read
Why Understanding fork, exec, and COW Is Crucial for Linux Developers
Deepin Linux
Deepin Linux
Apr 3, 2026 · Fundamentals

Why Linux’s New EEVDF Scheduler Beats CFS in Performance and Fairness

The article explains the design, core concepts, algorithms, and implementation details of Linux 6.6's default EEVDF scheduler, compares it with the legacy CFS, provides practical commands for inspection and switching, and discusses real‑world scenarios and common pitfalls for developers and interview candidates.

CFSEEVDFLinux scheduler
0 likes · 44 min read
Why Linux’s New EEVDF Scheduler Beats CFS in Performance and Fairness