Deepin Linux
Author

Deepin Linux

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

448
Articles
1
Likes
2.1k
Views
0
Comments
Recent Articles

Latest from Deepin Linux

100 recent articles max
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.

LinuxProc FilesystemZero-copy
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++Linuxasynchronous I/O
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.

Kernel DevelopmentLinux kernelOS fundamentals
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.

COWLinuxexec
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
Deepin Linux
Deepin Linux
Mar 31, 2026 · Fundamentals

Why the MMU Is the Hidden Engine Behind Linux Memory Management

This article explains how the Memory Management Unit (MMU) underpins Linux's virtual memory, process isolation, and protection mechanisms, detailing its architecture, address‑translation workflow, TLB caching, practical C implementations, real‑world use cases, and debugging techniques for kernel developers.

LinuxMMUOperating System
0 likes · 40 min read
Why the MMU Is the Hidden Engine Behind Linux Memory Management
Deepin Linux
Deepin Linux
Mar 30, 2026 · Fundamentals

Why Linux Treats Everything as a File: A Deep Dive into Kernel File System Architecture

This article explains the core philosophy of Linux’s “everything is a file” design, walks through the kernel’s VFS layer, inode, dentry, superblock, logical blocks, and specific file systems, and provides hands‑on examples—including procfs initialization and read/write code—to help readers master Linux kernel file system internals.

File systemLinuxOperating System
0 likes · 45 min read
Why Linux Treats Everything as a File: A Deep Dive into Kernel File System Architecture