Skip to content
Tagged articles

Linux kernel

417 articles · Page 4 of 5
Architects' Tech Alliance
Architects' Tech Alliance
Jun 17, 2022 · Fundamentals

Understanding the Linux Kernel: Concepts, Types, Files, Modules, and Learning Strategies

This article provides a comprehensive overview of the Linux kernel, explaining its purpose, different kernel architectures (microkernel, monolithic, hybrid), file locations, loadable modules, and offers practical learning advice and resource recommendations for anyone seeking to grasp operating‑system fundamentals.

Kernel TypesLearning ResourcesLinux kernel
0 likes · 24 min read
Understanding the Linux Kernel: Concepts, Types, Files, Modules, and Learning Strategies
OPPO Amber Lab
OPPO Amber Lab
Jun 2, 2022 · Information Security

DirtyPipe (CVE‑2022‑0847) Exploit: Gaining Root on Android

Researchers dissect the DirtyPipe (CVE‑2022‑0847) Linux kernel flaw affecting Android, explaining its uninitialized flag bug in splice, the patch changes, and detailed exploitation techniques that modify read‑only .so files to achieve arbitrary writes, bypass SELinux, and ultimately obtain root privileges.

AndroidCVE-2022-0847DirtyPipe
0 likes · 18 min read
DirtyPipe (CVE‑2022‑0847) Exploit: Gaining Root on Android
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 29, 2022 · Fundamentals

Understanding RTG (Related Thread Group) in the Linux Kernel: Core Selection, Frequency Aggregation, and Busy Hysteresis

The article explains Linux’s Related Thread Group (RTG) mechanism—its struct definition, default Android grouping, core‑selection logic that boosts whole groups to big‑core clusters, load‑aggregation for DCVS frequency decisions, and the newer busy‑hysteresis feature that delays low‑power entry to improve performance and power efficiency.

CPU SchedulingDCVSLinux kernel
0 likes · 15 min read
Understanding RTG (Related Thread Group) in the Linux Kernel: Core Selection, Frequency Aggregation, and Busy Hysteresis
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 22, 2022 · Fundamentals

Understanding Linux Kernel Mutex: Mechanism, Data Structures, and APIs

The Linux kernel’s mutex is a sleeping lock that serializes access by sleeping threads, enforces strict ownership rules, uses a state flag with a wait list and per‑CPU optimistic spin queue, offers APIs like mutex_init, lock, unlock and trylock, and employs handoff and MCS‑style spinning to improve performance, with OPPO’s team optimizing it to reduce UI jank.

ConcurrencyLinux kernelMutex
0 likes · 16 min read
Understanding Linux Kernel Mutex: Mechanism, Data Structures, and APIs
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 18, 2022 · Operations

In‑Depth Analysis of the Linux Schedutil Governor (sugov)

The article delivers a comprehensive, code‑level examination of Linux’s schedutil (sugov) CPU‑frequency governor, detailing its architecture, key data structures, registration with the cpufreq core, utilization‑driven frequency calculation (including iowait boost and limit handling), and the start‑stop lifecycle, while noting its default status and remaining mobile‑platform challenges.

CPU frequency scalingLinux kernelPerformance Optimization
0 likes · 23 min read
In‑Depth Analysis of the Linux Schedutil Governor (sugov)
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 11, 2022 · Operations

Bus DCVS: Dynamic Clock and Voltage Scaling for DDR Bandwidth Management in Modern SoCs

BUS DCVS dynamically scales DDR bus frequency and voltage using bandwidth‑monitor (bw_hwmon) and memory‑latency (memlat) governors within the Linux devfreq framework, aggregating votes from CPU, GPU, and other masters to balance performance and power across varied workloads such as audio playback and high‑definition video streaming.

Bus DCVSDDR bandwidthDynamic Voltage Scaling
0 likes · 11 min read
Bus DCVS: Dynamic Clock and Voltage Scaling for DDR Bandwidth Management in Modern SoCs
Open Source Linux
Open Source Linux
Mar 8, 2022 · Backend Development

Why the Linux Kernel Is Moving to C11 and What It Means

Arnd Bergmann's new patch lets the Linux kernel default to the GNU11 dialect, enabling modern C99/C11 features, with Linus Torvalds' backing, and the change is set to be tested in the upcoming v5.18 release.

C language standardsC11GNU11
0 likes · 5 min read
Why the Linux Kernel Is Moving to C11 and What It Means
21CTO
21CTO
Feb 27, 2022 · Fundamentals

Why the Linux Kernel Is Switching to Modern C (C11) in Version 5.18

The Linux kernel community is debating moving from the outdated C89 standard to a modern C standard—likely C11—for the upcoming 5.18 release, driven by bug fixes, macro safety concerns, and support from key developers.

C standardsC11Linux kernel
0 likes · 5 min read
Why the Linux Kernel Is Switching to Modern C (C11) in Version 5.18
ITPUB
ITPUB
Feb 17, 2022 · Fundamentals

Mastering Linux Process Scheduling: From FCFS to CFS Explained

This comprehensive guide walks through the fundamentals of process scheduling in operating systems, covering scheduling concepts, OS classifications, process types, priority mechanisms, preemptive vs cooperative models, design goals, classic algorithms such as FCFS, SJF, RR, MLFQ, and the evolution of Linux schedulers from O(n) and O(1) to the modern CFS, complete with code excerpts and practical examples.

CFSFCFSLinux kernel
0 likes · 31 min read
Mastering Linux Process Scheduling: From FCFS to CFS Explained
NiuNiu MaTe
NiuNiu MaTe
Jan 2, 2022 · Fundamentals

Why Receiving a TCP RST Doesn’t Always Close the Connection

This article explains the purpose of the TCP RST flag, how the kernel and application layers detect it, the various scenarios that trigger RST, why an RST may not terminate a connection, and the security implications of RST attacks.

Linux kernelRSTSecurity
0 likes · 15 min read
Why Receiving a TCP RST Doesn’t Always Close the Connection
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 17, 2021 · Fundamentals

In‑Depth Analysis of Linux CFS Task Placement and Energy Model (Part 2)

The article delves into Linux 5.10.61’s CFS task placement code, explaining the Energy‑Model framework, key data structures, and energy calculations, then walks through select_task_rq_fair’s wake‑up, fork, and exec paths, detailing EAS CPU selection, wake‑affine logic, fast and slow CPU‑selection algorithms, and how they balance performance with power on heterogeneous mobile platforms.

EASLinux kernelperformance domain
0 likes · 26 min read
In‑Depth Analysis of Linux CFS Task Placement and Energy Model (Part 2)
Open Source Linux
Open Source Linux
Dec 12, 2021 · Cloud Native

Unlocking eBPF: From Packet Filtering to Cloud‑Native Observability

This article explores the evolution of BPF from its origins as a packet‑filtering mechanism to the modern eBPF engine, detailing its architecture, security and performance benefits, core features such as hooks, maps and helper functions, and real‑world cloud‑native use cases like Cilium, Falco and kubectl‑trace.

Cloud NativeLinux kerneleBPF
0 likes · 26 min read
Unlocking eBPF: From Packet Filtering to Cloud‑Native Observability
Liangxu Linux
Liangxu Linux
Nov 21, 2021 · Fundamentals

Why Interrupts Matter: Unraveling CPU Interrupt Mechanisms and the IDT

This article explains how CPUs receive interrupt numbers through hardware, exceptions, or the INT instruction, describes the structure and purpose of the Interrupt Descriptor Table, and details the stack operations and control‑flow steps the processor performs to handle and return from an interrupt.

CPUIDTLinux kernel
0 likes · 17 min read
Why Interrupts Matter: Unraveling CPU Interrupt Mechanisms and the IDT
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 19, 2021 · Information Security

eCryptfs: Architecture, Usage, and Encryption Process

eCryptfs is a Linux kernel‑integrated stacked filesystem that encrypts both file names and contents using per‑file symmetric keys protected by passphrase‑or public‑key‑encrypted key wrappers, managed by a user‑space daemon and kernel keyring, with Ubuntu installation via ecryptfs‑utils, mount commands, and a read/write flow that incurs performance overhead and cache‑based security risks.

Linux kerneleCryptfsencrypted filesystem
0 likes · 6 min read
eCryptfs: Architecture, Usage, and Encryption Process
Liangxu Linux
Liangxu Linux
Oct 8, 2021 · Backend Development

What Really Happens Inside the Linux Kernel During a TCP Three‑Way Handshake?

This article dives deep into the Linux kernel implementation of the TCP three‑way handshake, explaining the roles of listen, connect, SYN/ACK processing, queue management, timers, and accept, while providing concrete code snippets and diagrams to help backend engineers master the underlying mechanics.

Linux kernelSocketsbackend development
0 likes · 18 min read
What Really Happens Inside the Linux Kernel During a TCP Three‑Way Handshake?
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2021 · Backend Development

How Rust Is Shaping the Future of Linux Kernel Development

At the recent Linaro Connect virtual conference, Linux kernel maintainer Miguel Ojeda, a Google employee, detailed the ongoing Rust for Linux project, noting existing RFC patches for Rust infrastructure and a basic virtual driver, the progress of three compiler back‑ends, and the roadmap toward integrating Rust into the kernel.

Linux kernelRustSystem Programming
0 likes · 3 min read
How Rust Is Shaping the Future of Linux Kernel Development
Programmer DD
Programmer DD
Sep 11, 2021 · Fundamentals

Why Linus Torvalds Rejects GitHub Merge Messages for Linux Kernel Contributions

Linus Torvalds criticizes the use of GitHub’s merge interface for Linux kernel contributions, arguing that its commit messages lack essential details such as what is being merged, why, and proper author attribution, and he emphasizes the need for signed, well‑documented PRs despite his past reluctance to use GitHub.

GitHubLinux kernelcommit guidelines
0 likes · 4 min read
Why Linus Torvalds Rejects GitHub Merge Messages for Linux Kernel Contributions
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 10, 2021 · Information Security

Understanding dm-verity: Design Principles, Application Layer, and Kernel Implementation

dm‑verity is a Linux device‑mapper target that protects a data partition’s integrity by using a compile‑time hash‑tree stored on a separate hash device, with Android employing it for verified boot; user‑space creates the dm device, loads the verity table, activates it, while the kernel’s dev_create, table_load, and suspend handlers set up mapped_device structures and enforce per‑block hash verification during I/O.

AndroidLinux kerneldevice mapper
0 likes · 15 min read
Understanding dm-verity: Design Principles, Application Layer, and Kernel Implementation
21CTO
21CTO
Sep 8, 2021 · Fundamentals

Linus Torvalds Slams GitHub Merge Messages – What Developers Should Learn

Linus Torvalds lambasts GitHub’s merge interface as generating useless commit messages while still merging Paragon’s NTFS driver, and Lenovo announces a new end‑to‑end PaaS service that bundles hardware, software and support into a subscription model.

GitHubLinux kernelNTFS driver
0 likes · 5 min read
Linus Torvalds Slams GitHub Merge Messages – What Developers Should Learn
Open Source Linux
Open Source Linux
Aug 10, 2021 · Fundamentals

Why eBPF is Revolutionizing High‑Performance Networking for Enterprises

This article explains how eBPF evolved from classic packet filtering to a powerful, programmable kernel virtual machine that enables high‑performance networking, hardware offload, and flexible security, making it increasingly vital for operators, system administrators, and enterprise solution providers.

Linux kernelSmartNICXDP
0 likes · 11 min read
Why eBPF is Revolutionizing High‑Performance Networking for Enterprises
Refining Core Development Skills
Refining Core Development Skills
Aug 9, 2021 · Backend Development

Analyzing TCP Handshake Anomalies: Port Exhaustion, Connection Queue Overflow, and Performance Mitigation

This article examines common TCP handshake anomalies in backend systems, detailing how client port exhaustion and server-side connection queue overflows cause packet loss and latency spikes, while providing kernel-level insights and practical configuration strategies to optimize network performance and ensure reliable service availability.

Linux kernelTCP handshakeconnection-queues
0 likes · 14 min read
Analyzing TCP Handshake Anomalies: Port Exhaustion, Connection Queue Overflow, and Performance Mitigation
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Aug 6, 2021 · Operations

Intelligent Power Allocation (IPA) Governor: Architecture, PID Control, and Power Allocation in the Linux Kernel

The Intelligent Power Allocation (IPA) governor, introduced in Linux kernel 4.2, uses a PID‑based closed‑loop controller and a dynamic power allocator to distribute sustainable power among CPU, GPU and other IP cores, maximizing performance while respecting temperature limits, but requires careful PID tuning and device‑tree configuration.

Linux kernelPID controllerSOC
0 likes · 9 min read
Intelligent Power Allocation (IPA) Governor: Architecture, PID Control, and Power Allocation in the Linux Kernel
Efficient Ops
Efficient Ops
Aug 1, 2021 · Operations

Unlocking Linux Performance: A Practical Guide to eBPF and BPF Maps

This article introduces the fundamentals of BPF and its extended version eBPF, explains their kernel‑resident virtual machine architecture, demonstrates simple packet‑filtering examples, outlines the eBPF program lifecycle, describes key BPF system‑call commands, and surveys the various eBPF map types used for efficient data handling in Linux.

BPFLinux kernelSystem Tracing
0 likes · 9 min read
Unlocking Linux Performance: A Practical Guide to eBPF and BPF Maps
Liangxu Linux
Liangxu Linux
Jul 28, 2021 · Fundamentals

How U‑Boot Passes the Device Tree to the ARM Kernel: A Deep Dive

This article explains how U‑Boot loads the device‑tree blob into memory, transfers its address via the r2 register using either bootm_header_t or legacy boot parameters, and describes the kernel’s two‑stage parsing process that validates, scans, and unflattens the tree into device nodes.

ARMLinux kernelU-Boot
0 likes · 8 min read
How U‑Boot Passes the Device Tree to the ARM Kernel: A Deep Dive
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 9, 2021 · Operations

Understanding CPU Frequency Scaling (cpufreq) in Linux: Architecture, Governors, and Interactive/Schedutil

The Linux cpufreq framework, organized into generic, driver, and governor layers, manages dynamic frequency and voltage scaling for big‑LITTLE CPUs by exposing sysfs controls, using policies like Interactive (periodic sampling) and Schedutil (event‑driven) to balance performance and battery life on modern smartphones.

CPU frequency scalingCPU governorsInteractive governor
0 likes · 11 min read
Understanding CPU Frequency Scaling (cpufreq) in Linux: Architecture, Governors, and Interactive/Schedutil
Refining Core Development Skills
Refining Core Development Skills
May 27, 2021 · Fundamentals

Deep Dive into Linux Localhost Network I/O: Kernel-Level Packet Transmission and Reception on 127.0.0.1

This article provides a comprehensive analysis of the Linux kernel's handling of localhost network I/O, detailing how packets destined for 127.0.0.1 bypass physical network interfaces, traverse the routing table, and utilize the loopback virtual device and soft interrupts for efficient intra-machine communication.

Kernel RoutingLinux kernelLoopback Interface
0 likes · 12 min read
Deep Dive into Linux Localhost Network I/O: Kernel-Level Packet Transmission and Reception on 127.0.0.1
Liangxu Linux
Liangxu Linux
May 9, 2021 · Fundamentals

How Linux Allocates Heap Memory: Inside vm_area_struct and the brk System Call

This article explains the Linux kernel's heap memory allocation process, covering the vm_area_struct and mm_struct data structures, the brk system call implementation, and the page‑fault handling that maps virtual addresses to physical memory, while also mentioning other allocation mechanisms such as mmap and HugePages.

HeapLinux kernelbrk system call
0 likes · 12 min read
How Linux Allocates Heap Memory: Inside vm_area_struct and the brk System Call
Open Source Linux
Open Source Linux
Apr 19, 2021 · Fundamentals

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

This article introduces the Linux kernel, explains its purpose and different architectures—including microkernel, monolithic, and hybrid designs—covers where kernel files reside, describes kernel modules and their management, and shares practical learning strategies and resources for newcomers.

Kernel ModulesLearning GuideLinux kernel
0 likes · 27 min read
Unlocking the Linux Kernel: A Beginner’s Guide to Architecture and Modules
Qunar Tech Salon
Qunar Tech Salon
Mar 10, 2021 · Backend Development

Deep Dive into epoll: Principles, Blocking, and I/O Multiplexing

This article provides an in‑depth exploration of Linux’s epoll mechanism, covering its blocking behavior, kernel‑level processing, NAPI optimization, comparisons with select/poll, and practical insights into I/O multiplexing, helping backend engineers understand performance characteristics and design efficient network services.

EpollI/O multiplexingLinux kernel
0 likes · 15 min read
Deep Dive into epoll: Principles, Blocking, and I/O Multiplexing
Liangxu Linux
Liangxu Linux
Feb 28, 2021 · Fundamentals

Step-by-Step Guide: Compile Linux Kernel and Debug with QEMU + GDB

Learn how to compile the Linux 4.19.172 kernel on CentOS, create a rootfs with BusyBox, and set up QEMU‑based debugging using GDB, including required kernel boot parameters, troubleshooting static linking errors, and optional Eclipse visual debugging.

BusyBoxLinux kernelQEMU
0 likes · 12 min read
Step-by-Step Guide: Compile Linux Kernel and Debug with QEMU + GDB
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 10, 2021 · Operations

Understanding CPU Power Management and the schedutil cpufreq Governor

Understanding CPU power management involves static and dynamic power, the cpufreq framework’s core, governor, driver, and stats components, and common governors, while the schedutil governor—introduced in Linux 4.7—leverages scheduler utilization data, fast‑switching, and tunable parameters to compute and apply per‑cluster frequencies instantly for low‑latency, fine‑grained scaling.

Linux kernelcpufreqfrequency scaling
0 likes · 24 min read
Understanding CPU Power Management and the schedutil cpufreq Governor
Architecture Digest
Architecture Digest
Jan 23, 2021 · Fundamentals

Understanding Linux TCP Socket Implementation and System Tuning

This article explains how Linux manages TCP sockets at the kernel level, demonstrates how to adjust port ranges and file‑descriptor limits, and shows the key data structures and lookup functions that enable high‑concurrency TCP connections, providing practical guidance for scaling client connections.

Linux kernelPort RangeSocket
0 likes · 8 min read
Understanding Linux TCP Socket Implementation and System Tuning
Liangxu Linux
Liangxu Linux
Jan 17, 2021 · Fundamentals

When Do SO_REUSEADDR and SO_REUSEPORT Actually Take Effect? A Deep Dive

This article explains the differences and interactions between the SO_REUSEADDR and SO_REUSEPORT socket options, shows how they behave on BSD and Linux kernels across versions, and provides code examples and tables to illustrate binding rules, TIME_WAIT handling, and the evolution of reuse‑port support.

Linux kernelSO_REUSEADDRSO_REUSEPORT
0 likes · 14 min read
When Do SO_REUSEADDR and SO_REUSEPORT Actually Take Effect? A Deep Dive
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 8, 2021 · Operations

Understanding eBPF and Its Use on Android for System Call Counting

The article explains eBPF’s evolution from packet filtering to a C‑compiled, sandboxed kernel framework, describes its core concepts of bytecode, JIT, and maps, and walks through building, loading, and using an Android eBPF program that counts system calls per PID via tracepoint hooks.

AndroidBPFLinux kernel
0 likes · 9 min read
Understanding eBPF and Its Use on Android for System Call Counting
ITPUB
ITPUB
Dec 29, 2020 · Fundamentals

How Linux Connection Tracking Works: Inside Netfilter and NAT

This article explains the principles, applications, and Linux kernel implementation of connection tracking (conntrack), covering its role in NAT, L4 load balancing, key data structures, hook mechanisms, and performance considerations with detailed code examples.

Linux kernelNATconntrack
0 likes · 28 min read
How Linux Connection Tracking Works: Inside Netfilter and NAT
Refining Core Development Skills
Refining Core Development Skills
Dec 23, 2020 · Fundamentals

Understanding Linux TCP Socket Internals and Port Range Configuration

This article explains how to adjust Linux kernel port ranges and file descriptor limits, explores the internal structures of TCP sockets, and walks through key kernel functions such as tcp_v4_rcv and __inet_lookup that locate sockets based on IP and port tuples, providing practical guidance for increasing TCP concurrency.

ConcurrencyLinux kernelPort Range
0 likes · 8 min read
Understanding Linux TCP Socket Internals and Port Range Configuration
21CTO
21CTO
Dec 1, 2020 · Fundamentals

How Linus Torvalds Built Linux: From Minix to the World's Dominant OS

This article chronicles Linus Torvalds' journey from a graduate student tinkering with a 386 PC and Minix to creating the Linux kernel, highlighting the technical, historical, and community factors that propelled Linux to become the leading open‑source operating system.

GitLinus TorvaldsLinux kernel
0 likes · 9 min read
How Linus Torvalds Built Linux: From Minix to the World's Dominant OS
21CTO
21CTO
Nov 17, 2020 · R&D Management

What Linus Torvalds Reveals About Realistic Development Practices and Tool Use

Linus Torvalds explains that developers often overestimate delegation and code importance, emphasizing that user needs trump code quality, that appropriate workflows matter more than tools, and that trust, proper use of SCM, and open communication via mailing lists are key to successful large‑scale projects.

Linus TorvaldsLinux kernelSCM
0 likes · 8 min read
What Linus Torvalds Reveals About Realistic Development Practices and Tool Use
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 13, 2020 · Information Security

Understanding KASAN: Principles and Usage in the Linux Kernel

KASAN, the Kernel Address Sanitizer, is a built‑in Linux kernel tool that uses shadow memory to mark each 8‑byte block’s accessibility, enabling detection of out‑of‑bounds and use‑after‑free errors while consuming about one‑eighth of RAM and requiring kernel configuration changes to activate.

KASANLinux kernelSecurity
0 likes · 8 min read
Understanding KASAN: Principles and Usage in the Linux Kernel
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Oct 30, 2020 · Fundamentals

Understanding FUSE: Architecture and Implementation Details

FUSE implements a user‑space file‑system framework where a kernel module creates the /dev/fuse device and forwards VFS requests into kernel queues, while a multi‑threaded daemon reads these requests, optionally uses splice for zero‑copy, processes them, and writes replies back, enabling simple file‑system development without kernel recompilation.

FUSEFilesystem architectureLinux kernel
0 likes · 10 min read
Understanding FUSE: Architecture and Implementation Details
dbaplus Community
dbaplus Community
Oct 18, 2020 · Databases

Why MongoDB mongos Proxies Crash Under Load and How to Fix It

A high‑traffic Java service using MongoDB experienced intermittent latency spikes and a full‑scale outage caused by excessive connection churn, kernel‑level random‑number generation bottlenecks, and mis‑configured client timeouts, which were diagnosed through log analysis, packet captures, and performance testing, leading to concrete mitigation steps.

Linux kernelMongoDBdatabase optimization
0 likes · 25 min read
Why MongoDB mongos Proxies Crash Under Load and How to Fix It
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 18, 2020 · Fundamentals

Linux SCSI Subsystem Architecture and Design Framework

The article thoroughly examines the Linux SCSI subsystem architecture, illustrating how abstract hardware topology—hosts, channels, IDs, and LUNs—is modeled in software through structs such as scsi_host and scsi_device, and detailing initialization, scanning, path establishment, power management, and block‑layer integration to guide kernel storage driver design.

Block LayerData StructuresLinux kernel
0 likes · 20 min read
Linux SCSI Subsystem Architecture and Design Framework
Laravel Tech Community
Laravel Tech Community
Sep 1, 2020 · Fundamentals

Linux Kernel 5.9-rc3 Released with Extensive Fallthrough Macro Changes and New Hardware Support

Linux Kernel 5.9-rc3 has been released, featuring a massive introduction of over two thousand fallthrough macro instances, numerous driver and architecture updates—including AMD Sienna Cichlid and Navy Flounder GPU support, Intel Rocket Lake and SERIALIZE instructions, RISC‑V enhancements, NVMe ZNS, and other improvements—while the stable 5.9 version is expected in early to mid‑October.

Fallthrough MacroLinux kernelhardware support
0 likes · 3 min read
Linux Kernel 5.9-rc3 Released with Extensive Fallthrough Macro Changes and New Hardware Support
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Aug 14, 2020 · Fundamentals

Linux Kernel Synchronization: Atomics, Spinlocks, Semaphores & Mutexes

This article explains the core synchronization mechanisms used in modern Linux kernels—including atomic operations, spinlocks, semaphores, and mutexes—detailing their definitions, underlying implementations, API usage, performance characteristics, and appropriate usage scenarios across different execution contexts such as process, interrupt, and soft‑interrupt contexts.

Atomic OperationsLinux kernelMutex
0 likes · 12 min read
Linux Kernel Synchronization: Atomics, Spinlocks, Semaphores & Mutexes
21CTO
21CTO
Jul 18, 2020 · Fundamentals

Linus Torvalds Demands AVX-512’s End: Intel’s Power‑Hungry Extension Hurts Users

Linus Torvalds publicly denounced Intel’s AVX‑512 instruction set, calling it a ‘power‑virus’ that bloats CPUs for niche benchmark gains, urging Intel to abandon it in favor of simpler, more efficient code that benefits everyday users rather than specialized high‑performance scenarios.

AVX-512CPU architectureIntel
0 likes · 6 min read
Linus Torvalds Demands AVX-512’s End: Intel’s Power‑Hungry Extension Hurts Users
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 17, 2020 · Fundamentals

An Overview of USB 3.0, Type‑C, and OTG Technologies

The article reviews USB 3.0’s higher 5 Gbps (10 Gbps Gen 2) bandwidth, asynchronous transfers, burst and stream capabilities, explains the reversible Type‑C connector’s power‑delivery, dual‑lane data and DisplayPort alternate mode, and details USB 3.0 OTG role negotiation via CC pins together with Linux kernel and ConfigFS support.

Linux kernelOTGType-C
0 likes · 16 min read
An Overview of USB 3.0, Type‑C, and OTG Technologies
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 10, 2020 · Information Security

Linux Kernel Crypto Framework: Architecture, Data Structures, and Application in File System Encryption

The Linux kernel’s generic crypto framework, introduced in version 2.5.45, defines core structures such as crypto_template, crypto_alg, crypto_instance and crypto_tfm to dynamically register and combine algorithms (e.g., ecb(aes)), providing a uniform API for symmetric, asymmetric, hash and other primitives, supporting user‑space access via AF_ALG and practical use cases like Android file‑based encryption with built‑in self‑tests for correctness.

Data StructuresLinux kernelSelf-test
0 likes · 11 min read
Linux Kernel Crypto Framework: Architecture, Data Structures, and Application in File System Encryption
Laravel Tech Community
Laravel Tech Community
Jun 17, 2020 · Fundamentals

Linux Kernel 5.8 RC1 Released with Major Updates and New Hardware Support

Linux Kernel 5.8 RC1 has been released, featuring extensive code changes—including updates to AMD Radeon drivers, SELinux optimizations, power management, new hardware support like Intel Tiger Lake Thunderbolt and Habana Labs Gaudi accelerators, as well as numerous filesystem improvements and documentation clean‑ups, with the stable release slated for mid‑August.

Linux kernelhardware supportkernel-development
0 likes · 3 min read
Linux Kernel 5.8 RC1 Released with Major Updates and New Hardware Support
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 29, 2020 · Fundamentals

Task Placement in the Linux CFS Scheduler: Scenarios, Code Framework, and Energy‑Aware Scheduling

The article explains how the Linux CFS scheduler places newly created or awakened tasks—during fork, exec, or wake‑up—by using sched domains and flags to invoke select_task_rq_fair, which then chooses among energy‑aware, least‑loaded, or idle‑sibling CPUs based on capacity, energy impact, and affinity.

CPU load balancingLinux kernelsched_domain
0 likes · 16 min read
Task Placement in the Linux CFS Scheduler: Scenarios, Code Framework, and Energy‑Aware Scheduling
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 24, 2020 · Fundamentals

Evolution from Radix Tree to XArray in the Linux Kernel

The Linux kernel’s page‑cache indexing migrated from the classic radix‑tree structure—using shift‑based multi‑way nodes, RCU‑protected insert, lookup, and delete operations—to the newer XArray API introduced in 4.20, which retains the radix layout while offering automatic resizing, built‑in locking, richer marking, and a cleaner, safer interface.

Data StructuresLinux kernelPage Cache
0 likes · 17 min read
Evolution from Radix Tree to XArray in the Linux Kernel
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 17, 2020 · Fundamentals

Linux Kernel devfreq Framework: Architecture, Interfaces, and Workflow

Linux’s devfreq framework provides a generic DVFS subsystem for non‑CPU devices, defining standardized kernel‑space structures (devfreq_profile, devfreq_governor, devfreq_device) and sysfs user‑space interfaces, and managing device initialization, frequency scaling via governors, and clean removal, enabling flexible power‑performance optimization across heterogeneous SoC components.

Linux kernelOPPdevfreq
0 likes · 10 min read
Linux Kernel devfreq Framework: Architecture, Interfaces, and Workflow
UCloud Tech
UCloud Tech
Apr 2, 2020 · Operations

How Flowtable Hardware Offload Boosted Linux Netfilter Performance by Up to 8×

This article details the development, testing, and patch contributions for Netfilter and Mellanox flowtable hardware offload, showing how offloading conntrack and NAT functions dramatically improves bandwidth and packet‑per‑second metrics while exposing remaining challenges such as neighbor handling and port mangling.

Linux kernelNATflowtable
0 likes · 15 min read
How Flowtable Hardware Offload Boosted Linux Netfilter Performance by Up to 8×
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Mar 18, 2020 · Backend Development

Mastering epoll: Deep Dive into Linux I/O Multiplexing

This article thoroughly examines Linux's epoll mechanism, detailing its SLAB memory management, middle‑layer design, edge and level triggering, comparison with select/poll, and related advanced polling technologies such as /dev/poll and kqueue, while also discussing C10K/C10M challenges and practical solutions.

C10KEpollI/O multiplexing
0 likes · 19 min read
Mastering epoll: Deep Dive into Linux I/O Multiplexing
Meituan Technology Team
Meituan Technology Team
Mar 12, 2020 · Information Security

Cloud Native Security: Container Escape and Mitigation Strategies

Meituan's security team explains cloud‑native architecture, outlines container‑escape threats from kernel bugs, vulnerable runtimes and misconfigurations, and recommends mitigation through hardened kernels, secure‑container runtimes like gVisor or Kata, rigorous patch management, and collaborative feature development to strengthen runtime protection.

Kata ContainersKubernetesLinux kernel
0 likes · 20 min read
Cloud Native Security: Container Escape and Mitigation Strategies
ITPUB
ITPUB
Dec 3, 2019 · Fundamentals

How to Identify and Control Module Clock Sources in the Exynos4 Linux Kernel

This article explains how embedded Linux on Exynos4 determines which peripheral clocks are enabled or disabled, describes the struct clk representation, shows the registration process in Clock‑exynos4.c, and provides the APIs (clk_get, clk_enable, clk_disable, etc.) for querying and managing module clocks such as the LCD controller.

Clock ManagementExynos4Linux kernel
0 likes · 8 min read
How to Identify and Control Module Clock Sources in the Exynos4 Linux Kernel
Programmer DD
Programmer DD
Dec 3, 2019 · Operations

Why SSH Login Stalls on New UCloud Hosts: Entropy Delays and Kernel Bugs

A user reported extremely slow first SSH login on a UCloud “High‑Kernel Ubuntu 18.04” instance, which was traced to slow entropy‑pool initialization in the Linux kernel, a libssl 1.1.1 bug, and a kernel configuration issue, leading to a fix involving disabling MOTD or enabling CONFIG_RANDOM_TRUST_CPU.

Linux kernelSSHSystem Performance
0 likes · 11 min read
Why SSH Login Stalls on New UCloud Hosts: Entropy Delays and Kernel Bugs
ITPUB
ITPUB
Oct 8, 2019 · Fundamentals

What’s New in Linux Kernel 5.4? Key Features, Security Lockdown & exFAT Support

Linux Kernel 5.4, the final major stable release of 2019, introduces a kernel lockdown feature enhancing security, native exFAT filesystem support, and a host of hardware and driver updates including Snapdragon 855, newer AMD/Intel GPUs, Icelake Thunderbolt, VirtIO‑FS, and various filesystem and UAV improvements.

Kernel LockdownLinux kernelexFAT
0 likes · 4 min read
What’s New in Linux Kernel 5.4? Key Features, Security Lockdown & exFAT Support
Node Underground
Node Underground
Jul 20, 2019 · Cloud Native

How to Use Docker Checkpoint & CRIU for Live Container Migration

This guide walks you through enabling Docker's experimental mode, installing CRIU, building a simple Node container, creating checkpoints, and restoring containers both on the same host and on a different host, highlighting the prerequisites and limitations of live migration.

CRIUContainer MigrationLinux kernel
0 likes · 5 min read
How to Use Docker Checkpoint & CRIU for Live Container Migration
UCloud Tech
UCloud Tech
Mar 21, 2019 · Cloud Native

How Kernel Innovations Enable Scalable Multi‑Tenant Cloud Gateways

UCloud’s external gateway redesign leverages Linux kernel 5.0 features—lightweight tunneling, VRF, and flow offload—to replace OVS/GRE tunnels, addressing IP tunnel complexity, tenant isolation overhead, and netns performance penalties, while contributing patches back to the open‑source community.

Linux kernelVRFflow offload
0 likes · 15 min read
How Kernel Innovations Enable Scalable Multi‑Tenant Cloud Gateways
MaGe Linux Operations
MaGe Linux Operations
Mar 9, 2019 · Fundamentals

How to Master the Linux Kernel: A Practical Study Blueprint

This article shares a comprehensive, experience‑based approach to learning the Linux kernel, emphasizing building a high‑level framework first, using key textbooks strategically, balancing theory with hands‑on coding, and understanding API design and hardware interactions to accelerate mastery.

Linux kernelSystem Programmingkernel-development
0 likes · 18 min read
How to Master the Linux Kernel: A Practical Study Blueprint
21CTO
21CTO
Jan 12, 2019 · Backend Development

Remembering Li Shaohua: Insights from a Linux Kernel Pioneer

This tribute honors the late Linux kernel developer Li Shaohua, highlighting his pivotal contributions to MD RAID, block I/O, NVMe, and storage performance, while sharing personal anecdotes and technical lessons that continue to inspire kernel engineers worldwide.

Linux kernelMD RAIDNVMe
0 likes · 8 min read
Remembering Li Shaohua: Insights from a Linux Kernel Pioneer
MaGe Linux Operations
MaGe Linux Operations
Dec 2, 2018 · Fundamentals

Unlocking Linux: Deep Dive into the 2.2.5 Kernel Boot Process

This article explores the motivations for analyzing Linux kernel source code and provides a comprehensive guide to navigating the 2.2.5 i386 kernel tree, detailing the boot sequence—from BIOS to real mode initialization, bootsect loader, setup, and protected‑mode startup—while highlighting key files, structures, and parameters.

Linux kerneli386operating system
0 likes · 22 min read
Unlocking Linux: Deep Dive into the 2.2.5 Kernel Boot Process
UCloud Tech
UCloud Tech
Nov 15, 2018 · Cloud Computing

How 25G SmartNICs Boost Cloud VM Networking Tenfold with Open vSwitch

This article examines the rapid adoption of 25G SmartNICs for cloud workloads, compares major vendor solutions, explains why an Open vSwitch‑based TC Flower offload design was chosen, and details the practical challenges and performance gains achieved when deploying the solution in a public‑cloud environment.

25G networkingLinux kernelOpen vSwitch
0 likes · 13 min read
How 25G SmartNICs Boost Cloud VM Networking Tenfold with Open vSwitch
JD Tech
JD Tech
Sep 20, 2018 · Big Data

Optimizing Local Storage Systems for Large‑Scale Hadoop HDFS Clusters

This article explains the architecture of Hadoop HDFS, identifies performance bottlenecks in page cache and metadata handling on DataNodes, and presents four practical optimization techniques—including cache‑buffer separation, barrier disabling, directory restructuring, and real‑time monitoring—demonstrating significant throughput and latency improvements in large‑scale clusters.

HDFSHadoopLinux kernel
0 likes · 14 min read
Optimizing Local Storage Systems for Large‑Scale Hadoop HDFS Clusters
360 Tech Engineering
360 Tech Engineering
Sep 14, 2018 · Fundamentals

Understanding the Linux Kernel list.h Linked List Implementation

This article explains the classic Linux kernel list linked‑list data structure, covering its definition, file locations, core operations such as initialization, insertion, deletion, replacement, moving, splitting and merging, the list_entry macro, usage examples, and important multithreading considerations.

Data StructuresLinked ListLinux kernel
0 likes · 5 min read
Understanding the Linux Kernel list.h Linked List Implementation
MaGe Linux Operations
MaGe Linux Operations
Aug 11, 2018 · Fundamentals

Mastering Linux Kernel Learning: Proven Strategies and Essential Resources

This article shares a personal yet systematic approach to learning the Linux kernel, emphasizing the importance of building a high‑level framework before diving into code, recommending key textbooks, discussing language considerations, API insights, and encouraging hands‑on experimentation to deepen understanding.

BooksLearning StrategiesLinux kernel
0 likes · 18 min read
Mastering Linux Kernel Learning: Proven Strategies and Essential Resources
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
May 22, 2018 · Backend Development

Why Short TCP Connections Fail: Decoding Errors 110 & 99 and Fixes

When clients frequently use short TCP connections they often encounter error 110 (connection timeout) and error 99 (cannot assign requested address), which stem from TIME‑WAIT port exhaustion and server listen‑queue overflow, and this article explains the causes and practical solutions.

EADDRNOTAVAILLinux kernelTCP
0 likes · 9 min read
Why Short TCP Connections Fail: Decoding Errors 110 & 99 and Fixes
Didi Tech
Didi Tech
May 18, 2018 · Backend Development

Understanding the Thundering Herd Problem in Linux and Nginx

The article explains the thundering herd problem where many processes wake for a single event, describes Linux’s kernel fixes for accept() and partial epoll solutions, and details how Nginx avoids the issue using a custom inter‑process accept mutex and lock design.

ConcurrencyEpollLinux kernel
0 likes · 14 min read
Understanding the Thundering Herd Problem in Linux and Nginx
Tencent Database Technology
Tencent Database Technology
May 17, 2018 · Operations

Analysis of ext4 Soft Lockup Caused by Extent Status LRU Lock Contention in Linux 3.10

This article examines a Linux 3.10 kernel soft‑lockup bug where the ext4 extent‑status LRU spin‑lock is held for over 20 seconds under memory pressure, explains the ext4 delayed‑allocation mechanism, block lookup process, extent‑status cache shrinkage, and presents the community's mitigation approach.

EXT4LRU spin lockLinux kernel
0 likes · 12 min read
Analysis of ext4 Soft Lockup Caused by Extent Status LRU Lock Contention in Linux 3.10
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 25, 2018 · Operations

Mastering C10K: Modern Techniques to Scale Server Concurrency

This article reviews the historical C10K challenge, explains IO model improvements like epoll, kqueue and IOCP, and details practical Linux performance optimizations such as CPU and memory affinity, RSS/RPS/RFS/XPS, IRQ handling, kernel tuning, and hardware utilization for high‑concurrency servers.

C10KCPU affinityIO Multiplexing
0 likes · 21 min read
Mastering C10K: Modern Techniques to Scale Server Concurrency
Qunar Tech Salon
Qunar Tech Salon
Mar 21, 2018 · Operations

Root Cause Analysis and Optimization of Network Packet Loss in High‑Traffic Redis Services

The article investigates why massive Redis deployments experience network packet loss despite using 10 Gbps NICs, explains how Linux kernel counters such as net.if.in.dropped are derived from /proc/net/dev, walks through the driver‑to‑kernel processing path, and proposes CPU‑affinity, interrupt‑affinity and NUMA‑aware tuning to eliminate the drops.

CPU affinityLinux kernelNUMA
0 likes · 28 min read
Root Cause Analysis and Optimization of Network Packet Loss in High‑Traffic Redis Services
Meituan Technology Team
Meituan Technology Team
Mar 15, 2018 · Operations

Root Cause Analysis and Optimization of Network Packet Loss in High‑Traffic Redis Services

Through kernel‑level analysis we discovered that Redis packet loss stemmed from rx_dropped buffer exhaustion caused by interrupt‑handling backlogs, and resolved it by assigning NIC interrupts to specific cores on one NUMA node while binding Redis processes to the other, eliminating loss under dual‑10 GbE load.

InterruptLinux kernelNAPI
0 likes · 33 min read
Root Cause Analysis and Optimization of Network Packet Loss in High‑Traffic Redis Services