Linux Kernel Journey
Author

Linux Kernel Journey

Linux Kernel Journey

127
Articles
0
Likes
225
Views
0
Comments
Recent Articles

Latest from Linux Kernel Journey

100 recent articles max
Linux Kernel Journey
Linux Kernel Journey
Jun 13, 2026 · Operations

Why Two Copies Outperform One: Designing bpf_sock_splice_pair for High‑Speed TCP Loopback

The article examines the design of the new BPF function bpf_sock_splice_pair for intra‑host TCP communication, explains why a single‑copy implementation is suboptimal, introduces a ring‑buffer based two‑copy approach with optional busy‑polling, and presents benchmark results showing up to 7× throughput gains over the baseline.

BPFPerformanceTCP
0 likes · 19 min read
Why Two Copies Outperform One: Designing bpf_sock_splice_pair for High‑Speed TCP Loopback
Linux Kernel Journey
Linux Kernel Journey
May 7, 2026 · Backend Development

KernelScript: A Unified Language for Full‑Stack eBPF Development

KernelScript tackles the growing complexity of eBPF projects by unifying kernel‑side programs, userspace loaders, and kernel modules into a single codebase, using annotations to let the compiler generate the necessary glue code, thereby reducing boilerplate and improving team productivity.

Compiler designKernelScriptLinux kernel
0 likes · 15 min read
KernelScript: A Unified Language for Full‑Stack eBPF Development
Linux Kernel Journey
Linux Kernel Journey
May 6, 2026 · Operations

How eBPF and AI Redefine Mobile Microarchitectural Energy‑Efficiency Analysis

By combining low‑overhead eBPF data collection with AI‑driven diagnosis and an agent‑based execution layer, the authors present a three‑tier system that shifts mobile optimization from peak performance to sustained energy efficiency, achieving sub‑1% monitoring overhead and up to 20% power savings in real‑world video workloads.

AIAgent architectureeBPF
0 likes · 12 min read
How eBPF and AI Redefine Mobile Microarchitectural Energy‑Efficiency Analysis
Linux Kernel Journey
Linux Kernel Journey
Apr 30, 2026 · Information Security

Understanding the BPF Loader and Its Signature Schemes

This article provides an in‑depth technical walkthrough of the eBPF loader implementation, explains two signature schemes, details map creation, hash calculation, CO‑RE relocation handling, the use_loader mode, kernel‑side verification via Hornet LSM, and discusses the advantages, limitations, and TOCTOU concerns.

BPF loaderCO-REHornet LSM
0 likes · 31 min read
Understanding the BPF Loader and Its Signature Schemes
Linux Kernel Journey
Linux Kernel Journey
Apr 9, 2026 · Information Security

Why Traditional AI Agent Sandboxes Fail and How Sandlock Provides a Lightweight Alternative

The article argues that heavy container‑ or micro‑VM‑based sandboxes mis‑solve AI agent security, because the real threat is prompt injection at the application layer, and demonstrates that a policy‑first approach using Linux Landlock, seccomp and per‑tool isolation—embodied in the open‑source Sandlock sandbox—delivers strong protection without root or heavyweight isolation.

AI agentsLandlockRust
0 likes · 15 min read
Why Traditional AI Agent Sandboxes Fail and How Sandlock Provides a Lightweight Alternative
Linux Kernel Journey
Linux Kernel Journey
Mar 22, 2026 · Fundamentals

Understanding EROFS: A Read‑Only Linux File System for Immutable Deployments

EROFS is a security‑focused, high‑performance read‑only Linux kernel file system designed for immutable scenarios such as container images, OS partitions, and AI model distribution, offering block‑aligned storage, minimal metadata, native compression, and host‑side page‑cache sharing to improve startup speed and reduce storage overhead.

EROFSLinux kernelcompression
0 likes · 15 min read
Understanding EROFS: A Read‑Only Linux File System for Immutable Deployments
Linux Kernel Journey
Linux Kernel Journey
Dec 21, 2025 · Artificial Intelligence

How to Trace Intel NPU Kernel Driver Operations Using eBPF and bpftrace

This tutorial explains how to use eBPF and bpftrace to monitor the Intel NPU kernel driver on Lunar Lake and Meteor Lake CPUs, mapping Level Zero API calls to kernel ioctls, tracking memory allocation, IPC communication, and identifying performance bottlenecks through detailed function‑call statistics.

Intel NPUKernel DriverLevel Zero API
0 likes · 17 min read
How to Trace Intel NPU Kernel Driver Operations Using eBPF and bpftrace