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
01
Processes & Threads
What a process really is, threads vs processes, context switching, and the cost of each.
Writing
02
CPU Scheduling
FCFS, round-robin, priority and multilevel queues — how the OS decides who runs next.
Writing
03
Memory Management
Virtual memory, paging, page faults, TLBs — the illusion every process lives alone.
Writing
04
Concurrency & Synchronization
Race conditions, mutexes, semaphores, and why your tests pass but prod deadlocks.
Writing
05
Deadlocks
The four conditions, prevention vs avoidance vs detection, and the banker's algorithm.
Writing
06
Filesystems
Inodes, journaling, and what actually happens on open(), write(), fsync().
Writing
07
I/O & Interrupts
Polling vs interrupts vs DMA, blocking vs non-blocking I/O, and where epoll fits.
Writing
08
Boot to Shell
From power button to prompt — BIOS/UEFI, kernel init, and the process tree.
Writing