Pillar 1 · Operating Systems
Operating Systems
How one machine runs your program. Eight guides are being written in the full TechForge style — diagrams, quizzes, interview questions — and land here topic by topic.
The roadmap
01Writing
Processes & Threads
What a process really is, threads vs processes, context switching, and the cost of each.
02Writing
CPU Scheduling
FCFS, round-robin, priority and multilevel queues — how the OS decides who runs next.
03Writing
Memory Management
Virtual memory, paging, page faults, TLBs — the illusion every process lives alone.
04Writing
Concurrency & Synchronization
Race conditions, mutexes, semaphores, and why your tests pass but prod deadlocks.
05Writing
Deadlocks
The four conditions, prevention vs avoidance vs detection, and the banker's algorithm.
06Writing
Filesystems
Inodes, journaling, and what actually happens on open(), write(), fsync().
07Writing
I/O & Interrupts
Polling vs interrupts vs DMA, blocking vs non-blocking I/O, and where epoll fits.
08Writing
Boot to Shell
From power button to prompt — BIOS/UEFI, kernel init, and the process tree.