Latest Posts

Latest Posts

How the Linux Workqueue Subsystem Works: Worker Pools, max_active, and Why Deferred Work Runs in Process Context

A driver that finishes an interrupt handler cannot allocate memory, take a mutex, or call into the block layer. The interrupt context is ato...

Sarthak Bystander 27 Nov, 2026

How Seccomp Works: BPF Filters on Syscalls, and Why Containers Restrict Their Attack Surface

A container runtime that launches a process for an untrusted image does not want that process to call mount , ptrace , or kexec_load . Capab...

Sarthak Bystander 26 Nov, 2026

How the Linux Context Switch Works: switch_to, Kernel Stacks, and Lazy FPU Restoration

A thread that calls sched_yield() or blocks on a futex does not leave its registers sitting in the CPU. The core must start executing anothe...

Sarthak Bystander 26 Nov, 2026

How the Linux Timekeeping Subsystem Works: Clocksources, Mult/Shift Scaling, and Why the vDSO Answers clock_gettime Without a Trap

A process that calls clock_gettime(CLOCK_MONOTONIC) ten million times a second does not expect each call to trap into the kernel. On a moder...

Sarthak Bystander 15 Nov, 2026

How Transparent Huge Pages Work: Collapse, Split, and Why the Kernel Tries to Hide 2 MiB Pages

A process that allocates a multi-gigabyte heap does not have to map every 4 KiB page through its own page-table entry. On x86-64 the hardwar...

Sarthak Bystander 4 Nov, 2026

How OverlayFS Works: Layers, Whiteouts, and Why Containers Share Base Images

A container that starts from a shared Debian image layer, writes a new hostname into /etc/hostname, and deletes a file that came from the ba...

Sarthak Bystander 3 Nov, 2026

How KVM Works: VM Exits, EPT, and Why a Guest Is Scheduled Like a Process

A process that starts a virtual machine does not execute guest instructions the way it executes its own. When the guest is running, the CPU ...

Sarthak Bystander 3 Nov, 2026

How KVM Works: VM Exits, EPT, and Why a Guest Is Scheduled Like a Process

A process that starts a virtual machine does not execute guest instructions the way it executes its own. When the guest is running, the CPU ...

Sarthak Bystander 3 Nov, 2026

How KVM Works: VM Exits, EPT, and Why a Guest Is Scheduled Like a Process

A process that starts a virtual machine does not execute guest instructions the way it executes its own. When the guest is running, the CPU ...

Sarthak Bystander 3 Nov, 2026

How Linux Capabilities and the LSM Framework Work: Fine-Grained Privilege, Hook Points, and Why Root Is No Longer All-or-Nothing

A process that needs to bind a low-numbered TCP port, or to change the system clock, does not need the power to rewrite arbitrary files, kil...

Sarthak Bystander 2 Nov, 2026

How Meltdown Works: Speculative Loads, Cache Side Channels, and Why KPTI Isolates Kernel Page Tables

A process that runs with ordinary user privileges is not supposed to read the kernel's page tables, credential structures, or another pr...

Sarthak Bystander 30 Oct, 2026

How the Linux Page Reclaim and OOM Killer Work: LRU Lists, Watermarks, and Why the System Kills Processes

A process that calls malloc for a multi-gigabyte buffer under memory pressure does not always receive the pages. The kernel may already be s...

Sarthak Bystander 27 Oct, 2026

Test Post for Inventory Check

This is a test.

Sarthak Bystander 24 Oct, 2026

How the Linux Network Transmit Path Works: sk_buffs, qdiscs, and Why send() Returns Before the Packet Leaves

A process that calls send() on a TCP socket expects the bytes to leave the machine eventually. It does not expect the call to wait until the...

Sarthak Bystander 24 Oct, 2026

How the Linux Network Transmit Path Works: sk_buffs, qdiscs, and Why send() Returns Before the Packet Leaves

Draft placeholder for the full transmit path article. Full content will be updated.

Sarthak Bystander 24 Oct, 2026

How TLB Shootdowns Work: IPIs, PCIDs, and Why Unmapping a Page Is Not Free

A process that calls munmap on a range it no longer needs expects the virtual addresses to disappear. On a single-core machine that is almo...

Sarthak Bystander 24 Oct, 2026

How the Linux Network Transmit Path Works: sk_buffs, qdiscs, and Why send() Returns Before the Packet Leaves

A process that calls send() on a TCP socket expects the bytes to leave the machine eventually. It does not expect the call to wait until the...

Sarthak Bystander 23 Oct, 2026

How File System Journaling Works: Ext4, Ordered Mode, and Why fsync Is Not Free

A database that calls fsync after a commit expects the bytes it wrote to survive a power cut. A filesystem that just renamed a temporary fil...

Sarthak Bystander 22 Oct, 2026