3 ms·
I think Linus echoes the idea of Linux architecture allowing it to become its own successor in these paragraphs: "By constructing a general kernel model drawn
by jimbokun 8y ago
I think Linus echoes the idea of Linux architecture allowing it to become its own successor in these paragraphs:
"By constructing a general kernel model drawn from elements common across typical architecture, the Linux kernel gets many of the portability benefits that otherwise require an abstraction layer, without paying the performance penalty paid by microkernels.
By allowing for kernel modules, hardware-specific code can often be confined to a module, keeping the core kernel highly portable. Device drivers are a good example of effective use of kernel modules to keep hardware specifics in the modules. This is a good middle ground between putting all the hardware specifics in the core kernel, which makes for a fast but unportable kernel, and putting all the hardware specifics in user space, which results in a system that is either slow, unstable, or both."
So the combination of a kernel model with interfaces reflecting good system design choices, and extensibility through a well defined kernel module interface, allows Linux to migrate to new hardware designs and leverage new components, while continuing to leverage all of the Linux compatible code written over the years. That is a very difficult combination of advantages for a new system to overcome.
- cpeterso 8y agoIronically, Linux is becoming more microkernel-like with support for user space drivers and file systems. :)
- swiley 8y agoGraphics drivers have definitely gone the other way. Those used to be in user space and aren't any more (although not in a microkernel sense, it was more of the DOS "go leave me alone and let me just poke crap into registers" sense.)
- DaiPlusPlus 8y agoOn Windows graphics drivers are now userland because historically they were the top cause of BSODs.
- swiley 8y agoThat's a serious problem on windows because the only people who can fix it are the authors of the driver. On Linux anyone has access to the source and can fix really bad driver bugs.
- BurningCycles 8y agoAFAIK only part of the graphics driver is in userland, with the performance critical part still in kernel space.