The kernel, running in kernel mode, has no handcuffs. It can do anything.
The kernel is the . Everything else runs in a sandboxed theater. The Three Sacred Duties Beneath the abstraction, the kernel performs three interlocking duties that resemble the functions of a biological brain.
Physical RAM is a messy, fragmented, limited resource. The kernel hides this horror with virtual memory . Every process believes it owns the entire address space, from address 0 to 2^64. This is a lie.
The kernel is the cartographer of a phantom continent, and every process is a happy colonist who doesn’t know the ground beneath their feet is a ledger entry.
The kernel is not really software. It is a .
It promises the hardware: I will not let these unruly user processes touch you in ways that break you. It promises the processes: I will give you the illusion of owning the entire machine, so you do not have to know about each other.
Ask a hundred programmers what a kernel is, and you’ll hear a hundred variations of the same functional definition: “It’s the core of the operating system, managing memory, processes, and hardware.” This is correct, but it’s like saying a nation-state is “a piece of land with borders and a government.” It misses the soul of the thing.