Linux Code Review Hub
Author

Linux Code Review Hub

A professional Linux technology community and learning platform covering the kernel, memory management, process management, file system and I/O, performance tuning, device drivers, virtualization, and cloud computing.

72
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Linux Code Review Hub

72 recent articles
Linux Code Review Hub
Linux Code Review Hub
Jul 19, 2024 · Fundamentals

Designing Clock Drivers for an Embedded Hypervisor (Part 2)

The article explains how PRTOS implements a virtual clock for each partition by intercepting hardware timer events, outlines five key use cases, compares three x86 timer sources (Intel 8253 PIT, TSC, HPET), and details their driver implementations, per‑CPU resource handling, and SMP constraints.

Embedded HypervisorHPETIntel 8253
0 likes · 9 min read
Designing Clock Drivers for an Embedded Hypervisor (Part 2)
Linux Code Review Hub
Linux Code Review Hub
Jul 16, 2024 · Fundamentals

Designing Embedded Hypervisor Components – Part 1

This article explains how PRTOS implements a separated kernel architecture with paravirtualization, details the hardware‑dependency layer, outlines the constraints of embedded virtualization, and walks through CPU frequency calibration and interrupt‑vector initialization for x86‑based embedded hypervisors.

CPU Frequency CalibrationEmbedded HypervisorInterrupt Vector
0 likes · 15 min read
Designing Embedded Hypervisor Components – Part 1
Linux Code Review Hub
Linux Code Review Hub
Jun 15, 2024 · Mobile Development

Scudo’s Evolution in Android 15: Optimizing Speed, Safety, and Memory Efficiency

The article examines how Android’s Scudo memory allocator has been refined over the past three years, detailing its four design goals, the cache and thread‑specific data mechanisms for fast allocation, strategies to balance safe memory release with performance, and the group‑based approach that reduces fragmentation while preserving security.

AndroidCacheMemory Allocator
0 likes · 11 min read
Scudo’s Evolution in Android 15: Optimizing Speed, Safety, and Memory Efficiency
Linux Code Review Hub
Linux Code Review Hub
Jun 5, 2024 · Operations

Observing Virtio‑Net NIC Queues with eBPF: A Practical Guide

This article explains how to extend eBPF to make virtio‑net NIC queue metrics observable, walks through the front‑end send/receive flow, defines key queue indices, integrates the probes into the rtrace tool, and demonstrates fault detection with real‑time data.

Linux kernelNIC queueeBPF
0 likes · 17 min read
Observing Virtio‑Net NIC Queues with eBPF: A Practical Guide
Linux Code Review Hub
Linux Code Review Hub
Jun 3, 2024 · Fundamentals

SCHED_EXT: The Extensible Kernel Scheduler Class for Custom Scheduling

The article provides a detailed technical overview of Linux's new extensible scheduler class SCHED_EXT, explaining its architecture, eBPF‑based customization interfaces, core data structures, queue management, scheduling points, and a central‑scheduler example, while comparing it with traditional CFS and per‑CPU run‑queues.

EEVDFLinux kerneleBPF
0 likes · 17 min read
SCHED_EXT: The Extensible Kernel Scheduler Class for Custom Scheduling
Linux Code Review Hub
Linux Code Review Hub
May 17, 2024 · Fundamentals

How Linux Kernel Performs File Readahead: An Illustrated Walkthrough

This article explains the design and implementation of file readahead in the Linux 3.12 kernel, using sequential, random, and multithreaded read scenarios to show how the kernel initializes readahead windows, triggers synchronous and asynchronous prefetches, and updates the page cache.

KernelLinuxfile system
0 likes · 8 min read
How Linux Kernel Performs File Readahead: An Illustrated Walkthrough
Linux Code Review Hub
Linux Code Review Hub
May 16, 2024 · Industry Insights

How Android Phones Are Entering the 3nm Era with Snapdragon 8 Gen 4

The Snapdragon 8 Gen 4 brings Android smartphones into the 3nm era, featuring Qualcomm's Nuvia architecture, a 10628 multi‑core score that outperforms Apple’s A17 Pro, LLVM support for the Oryon core, and upcoming flagship launches from Xiaomi and OnePlus, while highlighting the cost and production challenges of 3nm technology.

3nm processAndroid smartphonesCPU architecture
0 likes · 8 min read
How Android Phones Are Entering the 3nm Era with Snapdragon 8 Gen 4
Linux Code Review Hub
Linux Code Review Hub
Apr 11, 2024 · Fundamentals

Understanding USB 2.0 Transfer Mechanisms: Bulk, Control, Interrupt, and Isochronous Explained

This article breaks down USB 2.0's four transfer types—Bulk, Control, Interrupt, and Isochronous—detailing their packet structures, transaction stages, error handling, bandwidth limits, and priority rules with concrete examples and diagrams to help engineers design reliable USB devices.

Bulk TransferControl TransferInterrupt Transfer
0 likes · 16 min read
Understanding USB 2.0 Transfer Mechanisms: Bulk, Control, Interrupt, and Isochronous Explained
Linux Code Review Hub
Linux Code Review Hub
Apr 10, 2024 · Fundamentals

Decoding the Mysterious Language of USB 2.0 Packets: A Deep Dive

This article breaks down the USB 2.0 communication protocol by explaining how raw serial bits are organized into fields and packets—covering SYNC, PID, address, endpoint, frame number, data, CRC, as well as token, SOF, data, split‑transaction and handshake packets, with concrete examples and timing details.

CRCHandshakePID
0 likes · 21 min read
Decoding the Mysterious Language of USB 2.0 Packets: A Deep Dive