Tag

kernel development

1 views collected around this technical thread.

Deepin Linux
Deepin Linux
Jun 9, 2025 · Operations

Mastering Linux Kernel Oops: Debugging Secrets Every Developer Should Know

This comprehensive guide explains what Linux kernel Oops errors are, why they occur, and provides step‑by‑step debugging techniques—including environment setup, kernel configuration, printk usage, BUG macros, GDB, objdump, and memory‑checking tools—to help developers quickly locate and fix Oops issues in custom kernel modules.

GDBOopsPrintk
0 likes · 48 min read
Mastering Linux Kernel Oops: Debugging Secrets Every Developer Should Know
Deepin Linux
Deepin Linux
Mar 17, 2025 · Fundamentals

Understanding and Debugging Linux Kernel Oops Errors

This article explains what Linux kernel Oops messages are, distinguishes between BUG, Oops, and panic, outlines common causes, preparation steps, debugging tools, kernel configuration options, and provides a detailed case study with analysis and solutions for kernel Oops troubleshooting.

OopsOperating Systemdebugging
0 likes · 44 min read
Understanding and Debugging Linux Kernel Oops Errors
Deepin Linux
Deepin Linux
Jan 3, 2025 · Fundamentals

Understanding the Linux Kernel Exception Table __ex_table and Its Role in Exception Handling

This article provides a comprehensive overview of the Linux kernel's exception handling mechanism, focusing on the __ex_table data structure, its creation via macros, how the kernel locates and executes fix‑up code, and the supporting APIs and sorting process that ensure reliable recovery from faults.

Exception HandlingLinux kernelLow-level programming
0 likes · 21 min read
Understanding the Linux Kernel Exception Table __ex_table and Its Role in Exception Handling
Tencent Cloud Developer
Tencent Cloud Developer
Jan 3, 2025 · Operations

Deep Dive into Linux Kernel Page Cache Xarray: Problem, Analysis, and Optimizations

The article examines a long‑standing hidden bug in the Linux kernel’s page‑cache Xarray that caused occasional data loss with Large Folio support, details its discovery and fix by the TencentOS team, and shows how consolidating multiple tree walks into a single walk in Linux 6.10 reduced latency and improved performance by about ten percent.

Bug FixLinux kernelPerformance Optimization
0 likes · 27 min read
Deep Dive into Linux Kernel Page Cache Xarray: Problem, Analysis, and Optimizations
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 31, 2024 · Operations

An Overview of the Extensible Scheduler Class (sched_ext) in the Linux Kernel

The Linux kernel’s extensible scheduler class sched_ext introduces a new ext_sched_class with eBPF‑driven callbacks and dispatch queues, allowing developers to plug custom scheduling policies via struct sched_ext_ops without recompiling the kernel, while integrating into the existing hierarchy and exposing trade‑offs such as central‑CPU load and community adoption challenges.

CPU schedulingLinux kerneleBPF
0 likes · 16 min read
An Overview of the Extensible Scheduler Class (sched_ext) in the Linux Kernel
IT Services Circle
IT Services Circle
May 23, 2024 · Fundamentals

Linus Torvalds’ Dogfooding Practice and His Linux Development Workstation

The article explains how Linus Torvalds practices "dogfooding" by regularly building and testing the Linux kernel on his own hardware, describes the concept of dogfooding in software development, and details the specifications of his primary development PC and secondary MacBook Air laptop.

Linus Torvaldsdogfoodinghardware specifications
0 likes · 5 min read
Linus Torvalds’ Dogfooding Practice and His Linux Development Workstation
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 1, 2023 · Fundamentals

Recap of the 18th China Linux Kernel Developers Conference (CLK 2023)

On October 28 2023, the 18th China Linux Kernel Developers Conference gathered nearly 500 developers in Shenzhen, livestreamed to over 180,000 viewers, featured keynote talks on kernel scheduling, AI‑driven evolution, Rust integration, and cloud‑hardware co‑design, and offered sub‑forums on memory, virtualization, I/O, and eBPF, with all materials now publicly available.

ConferenceLinux kernelMemory Management
0 likes · 8 min read
Recap of the 18th China Linux Kernel Developers Conference (CLK 2023)
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 22, 2023 · Fundamentals

18th China Linux Kernel Developer Conference (CLK 2023) Call for Papers

The 18th China Linux Kernel Developer Conference (CLK 2023) will be held in Shenzhen on October 28, 2023, hosted by OPPO, and invites Linux kernel developers to submit technical papers (open call from September 22, deadline October 10) on topics such as architecture, scheduling, memory, storage, networking, virtualization, performance, testing and kernel use in IoT, mobile, automotive, cloud and AI, with required author bio, title and abstract.

ARM64CLK 2023Conference
0 likes · 4 min read
18th China Linux Kernel Developer Conference (CLK 2023) Call for Papers
Tencent Architect
Tencent Architect
Jul 20, 2023 · Fundamentals

Explore, Build, and Contribute: A Beginner’s Guide to the Linux Kernel

This comprehensive guide walks beginners through the Linux kernel’s architecture, source acquisition, configuration, compilation, installation, key subsystems, essential programming knowledge, and how to join the kernel community, providing practical code examples and curated learning resources.

Linux kernelkernel developmentopen-source
0 likes · 11 min read
Explore, Build, and Contribute: A Beginner’s Guide to the Linux Kernel
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 30, 2023 · Fundamentals

Understanding Linux Kernel Folio: From Page to Folio and Its Design Rationale

Linux kernel introduced the struct folio abstraction to replace ad‑hoc compound‑page tricks, giving a clear collection‑oriented representation for power‑of‑two page groups such as THP and HugeTLB, and providing dedicated APIs that eliminate naming confusion, unify reference handling, and make memory‑management code safer and easier to understand.

Linux kernelMemory Managementcompound page
0 likes · 15 min read
Understanding Linux Kernel Folio: From Page to Folio and Its Design Rationale
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 26, 2023 · Fundamentals

Understanding Linux rwsem Read‑Write Semaphore in Kernel 5.15.81

Linux introduced the read‑write semaphore (rwsem) as a sleep lock that lets multiple readers hold the lock concurrently, improving read‑heavy workload performance, and the article details its internal state representation, acquisition paths for reads and writes, optimistic spinning, handoff mechanisms, and trade‑offs, noting that mobile kernels may need further tuning.

ConcurrencyLinux kernelSynchronization
0 likes · 22 min read
Understanding Linux rwsem Read‑Write Semaphore in Kernel 5.15.81
Coolpad Technology Team
Coolpad Technology Team
Mar 23, 2022 · Backend Development

Implementation of EROFS Tail‑Packing Inline Compression in Linux Kernel 5.17

This article explains the design and implementation of the EROFS tail‑packing inline compression feature merged in Linux kernel 5.17, covering modifications to the on‑disk format, mkfs and kernel code paths, new inode structures, map‑block handling, and performance considerations with detailed code excerpts.

EROFSLinux kernelfilesystem
0 likes · 16 min read
Implementation of EROFS Tail‑Packing Inline Compression in Linux Kernel 5.17
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
Nov 12, 2021 · Operations

Linux CPU Time Guardians: Understanding cputime, cpufreq_stats, cpufreq_times, and cpuidle_time

The article explains Linux kernel CPU‑time accounting modules—cputime, cpufreq_stats, cpufreq_times, and cpuidle_time—detailing how each records processor usage, frequency transitions, per‑process frequency data, and idle‑state durations, and why they are essential for performance analysis and power‑optimization by system engineers.

CPU TimeLinux kernelOperating System
0 likes · 7 min read
Linux CPU Time Guardians: Understanding cputime, cpufreq_stats, cpufreq_times, and cpuidle_time
Refining Core Development Skills
Refining Core Development Skills
Sep 16, 2021 · Cloud Native

Deep Dive into Linux veth Pairs: Usage, Kernel Implementation, and Network Communication

This article provides a comprehensive technical analysis of Linux virtual Ethernet (veth) pairs, detailing their practical configuration, underlying kernel creation mechanisms, and complete network communication workflow within containerized environments like Docker.

Container NetworkingDockerLinux networking
0 likes · 12 min read
Deep Dive into Linux veth Pairs: Usage, Kernel Implementation, and Network Communication
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 29, 2021 · Mobile Development

GKI Transformation Principles and Implementation Methods

The article explains Google’s GKI transformation requirements—preserving a stable Kernel Module Interface, using only exported and whitelisted symbols, employing vendor hook mechanisms for custom SoC/OEM code, detecting interface mismatches, and offering alternatives such as padding macros and existing kernel event registration to avoid breaking KMI.

AndroidAndroid11GKI
0 likes · 11 min read
GKI Transformation Principles and Implementation Methods
Architecture Digest
Architecture Digest
Dec 10, 2020 · Fundamentals

Linus Torvalds and the Birth of Linux: From Minix to a Global Open‑Source Kernel

The article chronicles Linus Torvalds' journey from a university student building a Unix‑compatible OS on a 386, through his creation of the monolithic Linux kernel, the historic debate with Tanenbaum over micro‑ versus macro‑kernels, and the myriad technical, community, and market forces that propelled Linux to worldwide dominance.

Linus TorvaldsOperating Systemkernel development
0 likes · 13 min read
Linus Torvalds and the Birth of Linux: From Minix to a Global Open‑Source Kernel
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 kernelMemory Debugging
0 likes · 8 min read
Understanding KASAN: Principles and Usage in the Linux Kernel
IT Xianyu
IT Xianyu
Sep 9, 2020 · Fundamentals

Linux Kernel Maintenance: Linus Torvalds on Aging Maintainers and the Road to Kernel 5.8

Linus Torvalds highlighted the generational challenge of Linux kernel maintenance, the difficulty of finding new maintainers, the importance of trust, the continued dominance of C with emerging Rust support, and previewed the massive upcoming 5.8 release with its new hardware and feature updates.

C languageKernel 5.8kernel development
0 likes · 6 min read
Linux Kernel Maintenance: Linus Torvalds on Aging Maintainers and the Road to Kernel 5.8
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 MacroHardware SupportLinux kernel
0 likes · 3 min read
Linux Kernel 5.9-rc3 Released with Extensive Fallthrough Macro Changes and New Hardware Support