3 ms·
Also prior art: the Nemesis operating system. http://www.cl.cam.ac.uk/research/srg/netos/projects/archive/nemesis/ http://www.cl.cam.ac.uk/research/srg/netos/pr
by pjc50 11y ago
Also prior art: the Nemesis operating system. http://www.cl.cam.ac.uk/research/srg/netos/projects/archive/nemesis/ http://www.cl.cam.ac.uk/research/srg/netos/projects/archive/...
Nemesis has a single address space and memory protection: you can twiddle the permission bits in MMUs without necessarily incurring the cost of a TLB flush.
A unikernel system is usually a single-application system with no local multiuser capability; security is applied at the virtualisation layer and within the application. This is quite different from the traditional timesharing model.
- cpeterso 11y agoOpal was an operating system research project at the University of Washington in the mid-1990s that had a single, 64-bit address space but also had memory protection between processes. The single address space avoided TLB flushes during context switches, as you point out, and made shared memory RPC much easier (because pointers could be passed between processes because virtual addresses were the safe everywhere). I recall some discussion about leaking virtual addresses as an optimization to avoid needing to manage or GC large page tables. This was the mid-1990s so a 64-bit address space was more than anyone could possibly need. ;) http://homes.cs.washington.edu/~levy/opal/opal.html http://homes.cs.washington.edu/~levy/opal/opal.html