Computer systems

Linux kernel

Inside processes, filesystems and devices.

Start reading
0 / 49 read

Topics & articlesContents

14 topics
01

Process Management

0 / 4 read
  1. task_struct and the process lifecycle
  2. The Linux scheduler: from runnable tasks to CPU time
  3. Linux context switching — context_switch, switch_mm, and switch_to
  4. Signals and ptrace: From Asynchronous Notifications to Controlled Stops
02

Memory Management

0 / 5 read
  1. Virtual Memory: Understanding Page Tables, Page Faults, and TLB from a Single Memory Access Instruction
  2. VMA and Maple Tree: How Address Ranges Are Established, Changed, and Accessed Concurrently
  3. Physical Memory Management: Constraints on Allocation from Continuous Blocks
  4. Slab and kmalloc: Object Reuse, Space Retention, and Lifecycle
  5. Page Reclaim and Swap: How to Free Memory Without Losing Needed Data
03

File System

0 / 7 read
  1. VFS: From Pathname to Open File
  2. Page Cache and I/O: Caching, Writeback, and Persistence
  3. Filesystem Implementation: Layout, Journaling, COW, and Recovery
  4. VFS Advanced: Lock Ownership, Persistent Updates, and Data Passing
  5. ZFS: Storage Pools, Transaction Groups, and Synchronous Write Recovery
  6. NFS: Consistency, State, and Recovery of Remote Files
  7. Temporary and Pseudo Filesystems: Data, Interfaces, and Resource Boundaries
04

Interrupts and Clocks

0 / 3 read
  1. Interrupt Subsystem
  2. Clocks and Timers
  3. Time Management: Time Scales, Corrections, and Reading
05

Synchronization Mechanisms

0 / 3 read
  1. Locking Mechanisms and Memory Ordering
  2. RCU: Publication, Grace Periods, and Reclamation
  3. Synchronization Debugging: Dependencies, Races, and Stalls
06

Network Subsystem

0 / 5 read
  1. Network Protocol Stack Overview
  2. TCP/IP Protocol Stack
  3. Netfilter and BPF/XDP
  4. Virtual Networks, Routing, and Queues
  5. RDMA: Queues, Memory Registration, and Completion Semantics
07

Block Device Layer

0 / 2 read
  1. Block Device Layer
  2. NVMe and Storage
08

eBPF and Observability

0 / 3 read
  1. eBPF Fundamentals
  2. eBPF Program Types
  3. Tracing and Debugging
09

Security Mechanisms

0 / 3 read
  1. LSM and Access Control
  2. Kernel Hardening
  3. Crypto API and Storage Encryption
10

Drivers and Device Model

0 / 4 read
  1. Device Model
  2. PCIe and USB Driver Models
  3. DRM and Graphics
  4. IOMMU and DMA API
11

Kernel Development and Build

0 / 3 read
  1. Kbuild and Modules
  2. Debugging and Testing
  3. Live Patching
12

Containers and Primitives

0 / 2 read
  1. Namespaces
  2. cgroup
13

KVM and Virtualization

0 / 3 read
  1. KVM Architecture
  2. KVM Memory and Device Virtualization
  3. QEMU and KVM Collaboration
14

Power Management

0 / 2 read
  1. cpufreq and cpuidle
  2. Suspend and Wake-up