Deepin Linux
Author

Deepin Linux

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

441
Articles
1
Likes
1.7k
Views
0
Comments
Recent Articles

Latest from Deepin Linux

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

LinuxPerformance Optimizationcontext switch
0 likes · 29 min read
Mastering Process Context Switching: What the CPU Actually Does
Deepin Linux
Deepin Linux
Apr 17, 2026 · Fundamentals

Understanding Linux System Calls: Core Logic, Mechanisms, and Practical Examples

This comprehensive guide explains Linux system calls—the sole interface between user‑space programs and the kernel—covering their purpose, core logic for process, file, and memory management, the underlying interrupt mechanisms, parameter handling, and real‑world C code examples.

C ProgrammingLinuxSystem Calls
0 likes · 53 min read
Understanding Linux System Calls: Core Logic, Mechanisms, and Practical Examples
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.

LinuxPerformanceProc Filesystem
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.

CacheOperating SystemsPerformance Optimization
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.

CLinuxPerformance
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.

Linux kernelOS fundamentalsSLUB allocator
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