Operating Systems Intermediate
System calls, concurrency, processes, and virtual memory — the intermediate concepts that keep operating systems correct and performant.
Curriculum (13 steps)
What Is an Operating System?
articlesAn operating system is the resource manager and abstraction layer between hardware and applications, providing processes, memory, files, and devices.
What Is a Process?
articlesA process is an executing program with its own memory, state, and identity, tracked by the kernel through a process control block.
Process vs Thread at a Glance
diagramsVisual comparison of processes and threads: memory isolation, creation cost, communication, and failure boundaries.
Follow a process from creation through ready, running, I/O wait, back to ready, and termination — the five states and how the kernel transitions between them.
How applications request kernel services through system calls, the cost of mode switching, and common syscall patterns.
How threads share memory safely using mutexes, semaphores, condition variables, and the race conditions they prevent.
A process is a protected resource container with an address space and operating-system-managed resources.
Follow the key state changes and boundary checks involved in processes, threads, and the cost of sharing.
An interactive concept flow for processes, threads, and the cost of sharing, from its assumptions through the main operation and boundary checks.
Virtual memory lets each process use an address space that is translated through page tables and hardware translation caches.
Follow the key state changes and boundary checks involved in virtual memory and the page-fault path.
An interactive concept flow for virtual memory and the page-fault path, from its assumptions through the main operation and boundary checks.
Explain the model, execution steps, complexity, and limits of synchronization makes shared state predictable.