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
Jan 4, 2026 · Fundamentals

Unlocking Linux Shared Memory: Deep Dive into IPC Mechanics and Implementation

This article thoroughly explains Linux shared memory, covering its advantages over other IPC methods, the kernel data structures, virtual‑physical mapping, creation and destruction APIs, copy‑on‑write behavior, and provides complete example code for inter‑process communication.

C ProgrammingIPCMemory Management
0 likes · 46 min read
Unlocking Linux Shared Memory: Deep Dive into IPC Mechanics and Implementation
Deepin Linux
Deepin Linux
Jan 3, 2026 · Operations

Boost Linux Performance: Master CPU Affinity and Scheduling

This article explains the fundamentals of Linux CPU affinity, compares soft and hard binding, shows how to use taskset, sched_setaffinity, numactl and cgroup cpuset, and provides real‑world case studies for servers, game frameworks, Nginx and Hadoop clusters.

CPU affinityCPU schedulingLinux performance
0 likes · 36 min read
Boost Linux Performance: Master CPU Affinity and Scheduling
Deepin Linux
Deepin Linux
Dec 31, 2025 · Fundamentals

Unlocking Linux Signal Stacks: Why They Exist and How to Use Them Safely

This article explains the purpose of Linux's separate signal stack, how it differs from the regular process stack, the mechanics of signal delivery, practical code examples for enabling and using it, and why it matters for stability, real‑time processing, multithreading, and performance optimization.

C ProgrammingLinuxSIGSTKSZ
0 likes · 28 min read
Unlocking Linux Signal Stacks: Why They Exist and How to Use Them Safely
Deepin Linux
Deepin Linux
Dec 30, 2025 · Operations

Detecting and Fixing Linux Interrupt Stack Overflows

This article explains why interrupt stack overflows are dangerous in Linux, outlines their root causes, shows how to locate them using logs and debugging tools, and provides practical strategies to prevent and resolve the issue for stable kernel operation.

Linuxinterrupt stacksystem stability
0 likes · 41 min read
Detecting and Fixing Linux Interrupt Stack Overflows
Deepin Linux
Deepin Linux
Dec 28, 2025 · Fundamentals

Understanding Linux User Stacks: How Threads Manage Memory and Calls

This article explains the role of the Linux user stack in multithreaded programs, covering its memory layout, how each thread gets a private stack, stack frame mechanics, growth and overflow handling, and practical examples of creating and debugging stacks with pthreads and gdb.

CLinuxThread
0 likes · 24 min read
Understanding Linux User Stacks: How Threads Manage Memory and Calls
Deepin Linux
Deepin Linux
Dec 27, 2025 · Operations

Master Linux Kernel Stack Tracing: From GDB Basics to Advanced ftrace & eBPF

This practical guide walks you through Linux kernel stack backtracing, covering GDB installation, core dump analysis, handling corrupted stacks, and advanced tracing techniques using ftrace and eBPF, with step‑by‑step commands, code examples, and troubleshooting tips to pinpoint the root cause of crashes.

LinuxeBPFftrace
0 likes · 32 min read
Master Linux Kernel Stack Tracing: From GDB Basics to Advanced ftrace & eBPF
Deepin Linux
Deepin Linux
Dec 25, 2025 · Operations

How to Optimize Linux Thread Stack Memory for High‑Concurrency Services

This article explains the fundamentals of Linux thread stack memory, identifies why default stack sizes can cause waste or overflow in high‑concurrency scenarios, and provides practical techniques—including stack‑size tuning, code refactoring, and memory‑mapping—to reduce memory usage and improve service stability.

CLinuxMemory Optimization
0 likes · 34 min read
How to Optimize Linux Thread Stack Memory for High‑Concurrency Services
Deepin Linux
Deepin Linux
Dec 24, 2025 · Fundamentals

Why Linux Threads Crash: Uncovering Thread‑Stack Pitfalls and Fixes

This article explains how Linux thread stacks work, why improper stack size or unchecked recursion can cause crashes and memory leaks, and provides practical debugging tools, stack‑size tuning methods, and optimization techniques—including thread‑pool usage and real‑world case studies—to keep concurrent programs stable and efficient.

DebuggingStackThread
0 likes · 28 min read
Why Linux Threads Crash: Uncovering Thread‑Stack Pitfalls and Fixes
Deepin Linux
Deepin Linux
Dec 22, 2025 · Fundamentals

Mastering Linux Process Stacks: Theory, Debugging, and Stack Overflow Prevention

This comprehensive guide explains the Linux process stack architecture, stack frame layout, function call mechanics, dynamic growth limits, common pitfalls such as stack overflow and memory leaks, and demonstrates debugging techniques with gdb, pstack, and perf, plus a real‑world C++ example.

C ProgrammingDebuggingLinux
0 likes · 37 min read
Mastering Linux Process Stacks: Theory, Debugging, and Stack Overflow Prevention
Deepin Linux
Deepin Linux
Dec 21, 2025 · Fundamentals

Unlocking the Linux Kernel: A Beginner’s Roadmap to Core Architecture and Modules

This guide walks readers through the fundamentals of the Linux kernel, explaining its core subsystems, source tree layout, process management, memory handling, file systems, networking, device drivers, debugging tools, and practical learning resources, while providing code examples and command‑line utilities for hands‑on exploration.

Device DriversLinuxkernel
0 likes · 54 min read
Unlocking the Linux Kernel: A Beginner’s Roadmap to Core Architecture and Modules