How Computers Work
Follow how a CPU runs instructions, how caches and DRAM serve data, and how modern interconnects, I/O, and NUMA affect performance.
Follow how a CPU runs instructions, how caches and DRAM serve data, and how modern interconnects, I/O, and NUMA affect performance.
Explore RISC vs CISC, x86 vs ARM, opcodes, operands, and instruction formats that define how CPUs understand your code.
Hardware interrupts, IRQ handling, and interrupt bottom halves (tasklets, workqueues) for robust I/O processing.
Learn classic HDD scheduling models and how current Linux block-device scheduler choices depend on the kernel and device.
How Linux ext4 journals metadata and replays committed transactions after a crash, with limits on file-data durability and recovery guarantees.
Compare kernel designs through privilege boundaries, IPC, and driver placement, using Linux 6.12, seL4 16.0.0, and Windows 11 24H2.
A comprehensive guide to writing Linux kernel modules, character drivers, and ioctl interfaces for extending kernel functionality.
Learn how lock-free algorithms use CAS, memory ordering, ABA defenses, and safe memory reclamation, with a runnable C++ counter benchmark.
Learn how CPUs and operating systems translate virtual addresses, use segmentation, and map process memory to physical memory.
How Linux 6.12 allocates kernel memory with the buddy page allocator, SLUB, kmalloc, and vmalloc, including fragmentation and GFP allocation-context rules.