4 ms·
Even with new features like Device Guard, Windows is all but a microkernel; parts of the GUI high-level primitives (like fonts) are in WIN32K.SYS. Even OS X mov
by bonzini 10y ago
Even with new features like Device Guard, Windows is all but a microkernel; parts of the GUI high-level primitives (like fonts) are in WIN32K.SYS. Even OS X moved a lot of drivers to kernel space, it's not a pure microkernel design like the Hurd.
If anything, the closest thing to a microkernel that is in wide use is Xen, or Hyper-V.
- pinealservo 10y agoIf you mean wide use on a desktop, sure. QNX is definitely microkernel-based, though, and it's used widely in automotive head units and now Blackberry devices. Way nicer to write device drivers for than Linux!
- pjmlp 10y agoWhich is why I said hybrid, I didn't say it is a mikrokernel. In any case it is better than Linux will ever be. Regarding Xen and Hyper-V, there is a systems paper that states hypervisors are the revenge of mikrokernels.
- MichaelMoser123 10y agoWith Xen you have Linux running as dom0, not exactly a microkernel; what am I missing?
- pjmlp 10y agoHaving Linux as dom0 is just a matter of convenience for the Xen project not to write everything themselves, they could eventually get rid of it. The point of the paper is that an hypervisor behaves just like a mikrokernel, with guest systems running exactly the same way as applications would do on a mikrokernel OS.
- bonzini 10y agoI am not sure what's left of the original microkernel design in the NT kernel. You could say Linux is hybrid too because of FUSE and VFIO. But yes, I was thinking exactly of that paper when I mentioned hypervisors. It only applies to type 1 hypervisors though: not KVM, Beehyve, or OpenBSD vmm. Even VMware ESX is more of a hybrid kernel.
- pjmlp 10y agoWindows 10 thanks to UWP, Pico procresses taken from the Drawbrigde project and the MinWin rearchitecture is probably more closer to that model than the NT 4.0 descendants were. Regarding hyperviors, actually I think only type 1 hypervisors make sense. The type 2 were just a workound due to lack of hardware support.