Re:Why Some Dead OSes Still Matter (2007) [pdf]
by pjmlp on Tuesday August 25, 2015 @03:21PM
(#10118891)
I will let CVE database speak for me in what concerns security.
Micro-kernels are used in many embedded scenarios nowadays. Even your phone or car infotainment system might be running one, e.g. L4, QNX.
GNU/Linux being a UNIX clone will never change. Using a micro-kernel or any other language instead of C simply doesn't work out in UNIX culture.
Re:Why Some Dead OSes Still Matter (2007) [pdf]
by vezzy-fnord on Tuesday August 25, 2015 @05:46PM
(#10119669)
MINIX 3, Hurd, DragonFly BSD (hybrid) are existing counterexamples. Amoeba, Sprite and Spring were research Unixes with microkernels.
Re:Why Some Dead OSes Still Matter (2007) [pdf]
by pjmlp on Wednesday August 26, 2015 @01:41AM
(#10121276)
Actually I see them as examples that failed to change UNIX culture in regards to OS design. Always downplayed by the majority of UNIX users.
Re:Why Some Dead OSes Still Matter (2007) [pdf]
by vezzy-fnord on Tuesday August 25, 2015 @01:54PM
(#10118334)
Well, you don't need to rewrite all of Linux. What's currently happening is that some subsystems are incrementally being made more accessible from a user context - e.g. a new flag for madvise(2) to make page fault handling in userspace easier, NSUSE to access certain network drivers as userspace libraries, FUSE to cooperate with the in-kernel VFS to get file systems as user processes, virtual consoles outside the kernel and so on.
The demand for microkernel-like features is there, and Linux will progressively be refactored into a hybrid kernel with a standard set of "servers" you plug on top to augment it (systemd appears to be taking the role of the servers in question). Whether this architecture will end up desirable or an awkward worst-of-both-worlds combination remains unclear.
Why? When was the last time there was a Linux crash due to it not using a "safe" language? How many people did it effect? Is Linux actually measurably any the worse for using an "unsafe" language?
Would Linux be measurably any better for use of a micro-kernel?
Is anybody going to spend the man-decades (or man-centuries) necessary to re-write Linux using micro-kernels or safe languages, just to wind up at the same level of functionality? No. Ain't nobody got time for that.
So unless you can point to concrete, measurable benefits that are going to come from switching to micro-kernels or Rust or whatever, Linux is going to continue on its way. (I agree that the advantages of micro-kernels are a valid research subject. But you need more than Tannenbaum's "that's the right way to do it". You need a compelling reason where it can do something that people care about that Linux can't do, or where it can do it with much fewer resources (either hardware or programmers), or something of that sort. Merely 10% improvement, say, isn't going to cut it, because you'd have to re-write all of Linux to get that improvement, and it's not worth it.)