Processes and Memory
Processes, threads, context switches, scheduling and virtual memory.
4 notes · 29 min total
- 1Processes vs ThreadsHow a process lays out memory, how it moves through its lifecycle, and what threads share versus keep private.11 min
- 2Context SwitchingWhat the OS saves and restores when it swaps tasks, and why a process switch costs far more than a thread switch.5 min
- 3CPU SchedulingHow the OS decides which ready task runs next: FCFS, SJF, round robin, priority scheduling and multi-level feedback queues.8 min
- 4Virtual MemoryHow pages, page tables, the TLB and page faults give every process its own private, contiguous address space.5 min