Why Operating Systems Exist: The Dual Role
“OS = Resource Manager (arbitrator of CPU, RAM, I/O) + Extended Machine (abstractor of hardware into files, sockets, processes).”
- —Kernel execution is reactive: Invoked strictly via Interrupts, Traps, or System Calls.
- —Hardware provides the protection boundary (Mode Bit); the OS sets the policy.
- —Compilers, linkers, shells, and web browsers are NOT part of the OS kernel; they are user applications.
- —Device drivers run with kernel privileges, making poorly written drivers the leading cause of OS crashes.