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 30, 2026 · Operations

Master Core Dumps to Diagnose Linux Crashes Like a Pro

This guide explains what a Core Dump is, why it is essential for Linux crash analysis, how the kernel creates it, common signals that trigger it, typical causes of crashes, and step‑by‑step configuration and GDB techniques to capture and debug Core Dump files effectively.

ELFcore dumpcrash analysis
0 likes · 37 min read
Master Core Dumps to Diagnose Linux Crashes Like a Pro
Deepin Linux
Deepin Linux
Apr 29, 2026 · Fundamentals

Master Linux Kernel Deadlock Detection to Truly Understand Synchronization

This article explains the four necessary conditions for Linux deadlocks, demonstrates each with concrete pthread examples, reviews kernel lock types, introduces detection tools such as Lockdep, gdb, pstack and ftrace, and walks through a real‑world cluster case study with step‑by‑step analysis and remediation.

DebuggingLinuxLockdep
0 likes · 38 min read
Master Linux Kernel Deadlock Detection to Truly Understand Synchronization
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.

Linux kernelPerformanceSynchronization
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 performanceLinux
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 OperationsLinuxOS Internals
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.

Learning ResourcesLinux kernelSystem Programming
0 likes · 56 min read
Unlocking the Linux Kernel: From Core Concepts to Hands‑On Module Development