Skip to content
Tagged articles

Linux kernel

417 articles · Page 5 of 5
ITPUB
ITPUB
Oct 22, 2017 · Fundamentals

Why Can't Interrupt Handlers Sleep? Understanding Linux Kernel Sleep and Wakeup Mechanisms

This article explains the purpose and mechanics of process sleep in the Linux kernel, detailing how wait queues and wake‑up functions operate, why sleeping in atomic contexts such as interrupt handlers or while holding spinlocks is unsafe, and demonstrates the resulting deadlock with a sample driver.

Linux kernelSleepinterrupt context
0 likes · 16 min read
Why Can't Interrupt Handlers Sleep? Understanding Linux Kernel Sleep and Wakeup Mechanisms
dbaplus Community
dbaplus Community
May 31, 2017 · Operations

Why Docker Hosts Crashed: Tracing Kernel Null‑Pointer Bugs and the Fix

The article recounts a half‑year investigation of a high‑performance proxy cluster whose Docker hosts repeatedly crashed due to kernel null‑pointer dereferences, detailing log analysis, three faulty hypotheses, extensive web research, kernel and Docker upgrades, and the final operational lessons learned.

Linux kernelNull pointer dereferencedocker
0 likes · 14 min read
Why Docker Hosts Crashed: Tracing Kernel Null‑Pointer Bugs and the Fix
MaGe Linux Operations
MaGe Linux Operations
May 15, 2017 · Information Security

Critical Linux Kernel UDP Bug (CVE-2016-10229) Enables Remote Code Execution

An unauthenticated remote attacker can exploit a flaw in Linux kernel versions prior to 4.5’s udp.c, using crafted UDP packets with MSG_PEEK to trigger an unsafe checksum calculation, achieving arbitrary code execution and potential privilege escalation, though the vulnerability’s impact is limited due to rare MSG_PEEK usage.

CVE-2016-10229Linux kernelUDP Vulnerability
0 likes · 4 min read
Critical Linux Kernel UDP Bug (CVE-2016-10229) Enables Remote Code Execution
ITPUB
ITPUB
Feb 16, 2017 · R&D Management

Linus Torvalds on Project Management: Why Users Matter More Than Code

In this interview, Linus Torvalds shares hard‑earned lessons on software project management, emphasizing personal responsibility, the primacy of users over code quality, the limited role of tools, and how the Linux kernel mailing list keeps contributors aligned, offering timeless advice for developers and teams.

Linus TorvaldsLinux kernelopen source
0 likes · 9 min read
Linus Torvalds on Project Management: Why Users Matter More Than Code
ITPUB
ITPUB
Sep 28, 2016 · Backend Development

Why Enabling Multipath Routing Shrinks the FIB Table: Uncovering a Hidden Linux Kernel Bug

A long‑standing Linux kernel bug causes the FIB routing hash table to shrink from 256 to 2 entries when multipath routing is enabled, leading to performance degradation; the article explains the faulty macros, traces the communication with the original authors, and advises applying the upstream fix or patching locally.

FIBLinux kernelmultipath
0 likes · 3 min read
Why Enabling Multipath Routing Shrinks the FIB Table: Uncovering a Hidden Linux Kernel Bug
MaGe Linux Operations
MaGe Linux Operations
Aug 26, 2016 · Fundamentals

Unlocking Linux Kernel Magic: How container_of Retrieves Struct Addresses

This article explains the Linux kernel’s widely used container_of macro, showing how it converts a member’s address into the containing structure’s base address through examples, typeof and offsetof usage, and demonstrates the underlying calculations with clear code snippets and illustrations.

C macroLinux kernelSystems Programming
0 likes · 5 min read
Unlocking Linux Kernel Magic: How container_of Retrieves Struct Addresses
ITPUB
ITPUB
Aug 12, 2016 · Fundamentals

Why Do Spinlocks Behave Differently on UP vs SMP Linux Kernels?

The article explains how Linux spinlocks, originally designed for SMP systems, operate in UP kernels, why CONFIG_DEBUG_SPINLOCK changes their behavior, and which spinlock variants should be used in different interrupt and preemption contexts.

CONFIG_DEBUG_SPINLOCKLinux kernelSynchronization
0 likes · 14 min read
Why Do Spinlocks Behave Differently on UP vs SMP Linux Kernels?
ITPUB
ITPUB
May 31, 2016 · Fundamentals

Can the 2038 Unix Bug Threaten Linux? A Deep Dive into the Time Overflow

The article revisits the historic Y2K panic and explains how the same kind of overflow, known as the 2038 Unix bug, threatens Linux systems as their 32‑bit time counters will roll over on January 19, 2038, potentially causing widespread date‑related failures.

2038 bugLinux kernelSystem Programming
0 likes · 4 min read
Can the 2038 Unix Bug Threaten Linux? A Deep Dive into the Time Overflow
Tencent Music Tech Team
Tencent Music Tech Team
May 20, 2016 · Fundamentals

In‑Depth Analysis of TCP Connection Timeout, TIME_WAIT, Nagle Algorithm and Kernel Parameters

This article examines three common TCP issues—missing client‑side socket timeouts leading to monitor‑killed processes, excessive TIME_WAIT sockets after service failures and their kernel tunables, and 40 ms keep‑alive latency caused by Nagle and delayed ACK—explaining kernel behavior and offering practical configuration fixes.

Linux kernelNagle algorithmTCP
0 likes · 19 min read
In‑Depth Analysis of TCP Connection Timeout, TIME_WAIT, Nagle Algorithm and Kernel Parameters
ITPUB
ITPUB
Dec 8, 2015 · Fundamentals

Why the Linux Kernel Thrives: Architecture, Modularity, and Core Subsystems Explained

This article explains how the Linux kernel’s layered architecture, modular design, and well‑defined subsystems such as the process scheduler, memory manager, virtual file system, and network interface enable massive volunteer collaboration, extensibility, and continuous evolution of the operating system.

Linux kernelMemory managerOS Architecture
0 likes · 19 min read
Why the Linux Kernel Thrives: Architecture, Modularity, and Core Subsystems Explained
Meituan Technology Team
Meituan Technology Team
Apr 1, 2015 · Cloud Native

Understanding Linux cgroups: Concepts, Hierarchy, and Usage

Linux cgroups are a kernel feature that organizes processes into hierarchical control groups, allowing fine‑grained limits, accounting, and isolation of CPU, memory, I/O, network and devices via subsystems such as cpu, memory, cpuset, blkio, and others, and are accessed through a virtual filesystem for configuring and managing resource constraints, underpinning containers and cloud platforms.

Cloud NativeLinux kernelVFS
0 likes · 15 min read
Understanding Linux cgroups: Concepts, Hierarchy, and Usage