Systems
Operating Systems
What the operating system does for every program you run: processes and threads, CPU scheduling, synchronisation and deadlocks, virtual memory and paging, file systems, I/O, and virtualisation.
6 modules 16 lessons ~1 h of reading
Start learning
0/16 completed
01
Basics
2 lessons- 1What Is an Operating System?The OS as resource manager and abstraction layer — kernel vs user space, kernel architectures, the boot process, and what happens when the machine starts.beginner4 min
- 2System Calls & the KernelHow a program asks the kernel for services — the syscall mechanism, common Linux system calls, libc wrappers, costs, strace, and vDSO/io_uring optimisations.intermediate3 min
02
Processes & Threads
4 lessons- 3ProcessesWhat a process is, its memory layout and PCB, process states, fork/exec/wait, zombies and orphans, and how context switching works.intermediate4 min
- 4ThreadsThreads vs processes, what threads share, kernel vs user threads and threading models, thread pools, and green/virtual threads and coroutines.intermediate4 min
- 5CPU SchedulingFCFS, SJF, SRTF, priority, round robin, multilevel feedback queues and Linux's CFS/EEVDF — with Gantt charts, metrics and worked examples.intermediate5 min
- 6Inter-Process CommunicationPipes, FIFOs, message queues, shared memory, Unix domain sockets, signals and memory-mapped files — how isolated processes exchange data, and when to use each.intermediate3 min
03
Concurrency
3 lessons- 7SynchronizationRace conditions and critical sections; mutexes, spinlocks, semaphores, condition variables, monitors, read-write locks and atomics — with correct code in Java, Python and TypeScript.advanced3 min
- 8Classic Synchronization ProblemsProducer–consumer, readers–writers, dining philosophers and the sleeping barber — the canonical concurrency puzzles and their correct solutions.advanced3 min
- 9DeadlocksThe four Coffman conditions, resource allocation graphs, prevention, avoidance (Banker's algorithm), detection and recovery, plus livelock and starvation.advanced4 min
04
Memory
3 lessons- 10Memory ManagementAddress binding, contiguous allocation, fragmentation, segmentation vs paging, and how malloc and the kernel allocator manage memory.intermediate4 min
- 11Paging & Virtual MemoryDemand paging, page faults, copy-on-write, memory-mapped files, swapping, thrashing and working sets — how the OS gives every process a huge private memory.advanced4 min
- 12Page Replacement AlgorithmsFIFO, Optimal, LRU, Clock (second chance) and LFU — how the OS chooses which page to evict, Belady's anomaly, and an interactive simulator.intermediate4 min
05
Storage & I/O
2 lessons- 13File SystemsFiles, directories and inodes; allocation methods; hard and soft links; journaling and crash consistency; copy-on-write file systems; and fsync.intermediate4 min
- 14I/O Systems & DisksThe kernel I/O stack, blocking vs non-blocking vs async I/O, epoll and io_uring, HDD and SSD internals, disk scheduling, and RAID.intermediate4 min
06
Modern OS
2 lessons- 15Virtualization & ContainersHypervisors (type 1 and 2), hardware-assisted virtualization, VMs vs containers, Linux namespaces and cgroups, and how Docker builds on them.intermediate4 min
- 16Linux InternalsA tour of the Linux kernel — task_struct and scheduling, memory and the page cache, VFS, the network stack, /proc and /sys, systemd, eBPF, and essential debugging tools.advanced3 min