Release
If a driver falls over, the system carries on
In many systems, drivers live inside the kernel.
They share a house with the most delicate part.
So if the network card’s driver trips, it can take everything with it. Crash. Reboot.
Not in adkos.
Here a driver is just another program.
And on the second morning I gave them a supervisor.
When a driver falls over, the supervisor brings it back. But first it does something important: it cuts its access to memory.
Why?
Because devices can write straight into memory without going through the processor. It’s fast. And dangerous. A dead driver with that door open can keep writing where it shouldn’t.
So first the door is shut. Then the driver comes back.
And so that door is never wide open, I put a doorman on it. A piece of the hardware, the IOMMU, that lets each device touch only its own slice of memory. Not one byte more.
That same morning also brought:
Real networking, with TCP. The kind you use to open a web page. First with a program that echoed back whatever you sent it, then with a service any program can use.
A clock, a source of random numbers and memory for programs.
Drivers for fast disks, NVMe and SATA. Outside the kernel, like all of them.
A command, run, to start programs from the shell.
And adkfs learned to keep a notebook. Before changing anything, it writes down what it’s about to do. If the power goes halfway, it knows where it was when it comes back.
That’s the idea of adkos in one sentence.
If something fails, the system carries on.