Linux Kernel Journey
Author

Linux Kernel Journey

Linux Kernel Journey

125
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Linux Kernel Journey

100 recent articles max
Linux Kernel Journey
Linux Kernel Journey
Jan 18, 2025 · Fundamentals

Understanding Type‑1 vs Type‑2 Hypervisors on ARM64

The article explains how Type‑1 and Type‑2 hypervisors differ in their use of ARM64 exception levels, outlines their shared responsibilities such as resource, scheduling, and device management, and compares their architectures and performance through a serial‑port example, highlighting the trade‑offs of each approach.

ARM64KVMVirtualization
0 likes · 7 min read
Understanding Type‑1 vs Type‑2 Hypervisors on ARM64
Linux Kernel Journey
Linux Kernel Journey
Jan 13, 2025 · Operations

Why the sched_ext BPF Scheduler Is Booming in 2024

The article explains how eBPF‑based sched_ext enables painless design, implementation and deployment of new Linux schedulers, offering faster iteration, better observability, lower entry barriers, and showcases simple FIFO examples, advanced LAVD and rustland schedulers, their adoption in major distros, and performance gains for gaming workloads.

BPFLAVDLinux scheduler
0 likes · 7 min read
Why the sched_ext BPF Scheduler Is Booming in 2024
Linux Kernel Journey
Linux Kernel Journey
Jan 12, 2025 · Fundamentals

Master CMake Basics: A Simple, Step‑by‑Step Guide to Build Automation

This article walks you through why CMake is a more elegant, cross‑platform alternative to hand‑written Makefiles, explains its core benefits, and provides a complete, hands‑on tutorial that covers the basic workflow, a minimal project example, multi‑source handling, and multi‑directory organization with clear code snippets.

Build AutomationCCMake
0 likes · 13 min read
Master CMake Basics: A Simple, Step‑by‑Step Guide to Build Automation
Linux Kernel Journey
Linux Kernel Journey
Jan 9, 2025 · Fundamentals

How Does a Linux Process Use Memory? A Deep Dive

This article explains the Linux kernel’s memory management for a process, covering virtual address spaces, page‑fault handling, VMA allocation, stack and heap initialization, sbrk/brk usage, thread‑stack creation, and the glibc ptmalloc heap allocator with concrete code examples and diagrams.

HeapLinuxPage Fault
0 likes · 15 min read
How Does a Linux Process Use Memory? A Deep Dive
Linux Kernel Journey
Linux Kernel Journey
Jan 1, 2025 · Backend Development

eBPF Tailcall: 6 Common Pitfalls and How to Detect Them

The article outlines six distinct kernel‑level bugs affecting the eBPF tailcall feature across multiple Linux versions, explains the underlying causes and the commits that fixed them, and introduces a detection tool to verify whether a running kernel is affected.

BPFLinux kernelbpf2bpf
0 likes · 7 min read
eBPF Tailcall: 6 Common Pitfalls and How to Detect Them
Linux Kernel Journey
Linux Kernel Journey
Dec 29, 2024 · Fundamentals

Extending Fair Scheduling: Inside Linux’s New EEVDF Algorithm

The article explains how the Earliest Eligible Virtual Deadline First (EEVDF) scheduler, introduced in Linux 6.6, replaces CFS by using virtual deadlines and a lag concept to achieve both fairness and interactivity, and walks through concrete formulas, parameter settings, and step‑by‑step scheduling examples.

CFSEEVDFFairness
0 likes · 11 min read
Extending Fair Scheduling: Inside Linux’s New EEVDF Algorithm