Skip to content
BIASED

What an operating system does

Block 1 of 3~3 min

Three jobs of an OS

An operating system turns bare hardware into a place where many programs can run usefully and safely. Count three jobs. Abstractions give processes, virtual address spaces, files and sockets so application code never programs a NIC register or walks a page table by hand. Resource management multiplexes scarce CPU time, memory and device bandwidth among those abstractions. Isolation keeps processes out of each other’s memory and out of the kernel’s, so a bug becomes a crash or a denied syscall rather than silent corruption of another tenant.

The architecture half of the course — ISA, traps, caches, virtual memory — is the mechanism. The OS half is the policy and the software that uses those mechanisms every time you type a command.

Answers are saved on the server and tied to this browser until you sign in.