Hybrid Kernel: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
m (Rewording on Windows NT)
No edit summary
Line 2: Line 2:
{{Template:Kernel designs}}
{{Template:Kernel designs}}
== Design ==
== Design ==
A hybrid kernel is a marketing term <ref>Linus Torvalds (2006). "[https://www.realworldtech.com/forum/?threadid=65915&curpostid=65936 Post to Real World Tech forums]". ''Real World Tech Forums.'' Retrieved June 25, 2024.</ref> for a monolithic kernel, typically applied to [[monolithic kernel]]<nowiki/>s which feature modular or layered designs (such as [[Mac OS X]] ([[XNU]]) or Windows NT), or which are internally structured in ways reminiscent of microkernel-based systems (such as DragonFly BSD, which makes extensive use of message-passing).
A hybrid kernel is, as its name indicates, a hybrid between a [[Monolithic kernel]] and a [[Microkernel]]. Unlike a microkernel where everything takes place in user level servers and drivers, the designers of a hybrid kernel may decide to keep several components inside kernel and some outside. There are many motivations for doing so, such as performance, simplicity, and vendor lock-in (you cannot change components with custom components). Most hybrid kernels start as monolithic kernels and begin moving components into user land, primarily as security to support 3rd-party components and drivers which may be malicious or buggy.

An example of a hybrid kernel design may keep the VFS and bus controllers inside the kernel, but have the file system drivers and storage drivers as user mode programs. The advantage of this system that is you keep the performance and design principles of a monolithic kernel, but you allow untrusted users to load untrusted code for accessing their own storage devices.

== Examples ==
* Windows NT (including 2000, XP and above)
* [[Mac OS X]] ([[XNU]])
* BeOS
* Haiku
* ReactOS
* Syllable
* DragonFly BSD
* Plan 9


[[Category:Kernel]]
[[Category:Kernel]]

Revision as of 15:05, 25 June 2024

This page is a stub.
You can help the wiki by accurately adding more contents to it.
Kernel Designs
Models
Other Concepts

Design

A hybrid kernel is a marketing term [1] for a monolithic kernel, typically applied to monolithic kernels which feature modular or layered designs (such as Mac OS X (XNU) or Windows NT), or which are internally structured in ways reminiscent of microkernel-based systems (such as DragonFly BSD, which makes extensive use of message-passing).

  1. Linus Torvalds (2006). "Post to Real World Tech forums". Real World Tech Forums. Retrieved June 25, 2024.