Hybrid kernel

Structure of monolithic kernel, microkernel and hybrid kernel-based operating systems

A hybrid kernel is an operating system kernel whose architecture attempts to combine aspects and benefits of microkernel and monolithic kernel architectures used in operating systems.[1][2][unreliable source?]

Overview

The traditional kernel categories are monolithic kernels and microkernels (with nanokernels and exokernels seen as more extreme versions of microkernels). The "hybrid" category is controversial, due to the similarity of hybrid kernels and ordinary monolithic kernels; the term has been dismissed by Linus Torvalds as simple marketing.[3]

The idea behind a hybrid kernel is to have a kernel structure similar to that of a microkernel, but to implement that structure in the manner of a monolithic kernel. In contrast to a microkernel, all (or nearly all) operating system services in a hybrid kernel are still in kernel space. There are none of the reliability benefits of having services in user space, as with a microkernel. However, just as with an ordinary monolithic kernel, there is none of the performance overhead for message passing and context switching between kernel and user mode that normally comes with a microkernel.

Examples

NT kernel

The Windows NT operating system family's architecture consists of two layers (user mode and kernel mode), with many different modules within both of these layers.

One prominent example of a hybrid kernel is the Microsoft Windows NT kernel that powers all operating systems in the Windows NT family, up to and including Windows 11 and Windows Server 2022, and powers Windows Phone 8, Windows Phone 8.1, Windows 10 Mobile, and the Xbox One and Xbox Series consoles.

Windows NT was the first Windows operating system based on a hybrid kernel[citation needed]. The hybrid kernel was designed as a modified microkernel, influenced by the Mach microkernel developed by Richard Rashid at Carnegie Mellon University, but without meeting all of the criteria of a pure microkernel. NT-based Windows is classified as a hybrid kernel (or a macrokernel[4]) rather than a monolithic kernel because the emulation subsystems run in user-mode server processes, rather than in kernel mode as on a monolithic kernel, and further because of the large number of design goals which resemble design goals of Mach (in particular the separation of OS personalities from a general kernel design). Conversely, the reason NT is not a microkernel system is because most of the system components run in the same address space as the kernel, as would be the case with a monolithic design (in a traditional monolithic design, there would not be a microkernel per se, but the kernel would implement broadly similar functionality to NT's microkernel and kernel-mode subsystems).

The primary operating system personality on Windows is the Windows API, which is always present. The emulation subsystem which implements the Windows personality is called the Client/Server Runtime Subsystem (csrss.exe). On versions of NT prior to 4.0, this subsystem process also contained the window manager, graphics device interface and graphics device drivers. For performance reasons, however, in version 4.0 and later, these modules (which are often implemented in user mode even on monolithic systems, especially those designed without internal graphics support) run as a kernel-mode subsystem.[4]

Applications that run on NT are written to one of the OS personalities (usually the Windows API), and not to the native NT API for which documentation is not publicly available (with the exception of routines used in device driver development). An OS personality is implemented via a set of user-mode DLLs (see Dynamic-link library), which are mapped into application processes' address spaces as required, together with an emulation subsystem server process (as described previously). Applications access system services by calling into the OS personality DLLs mapped into their address spaces, which in turn call into the NT run-time library (ntdll.dll), also mapped into the process address space. The NT run-time library services these requests by trapping into kernel mode to either call kernel-mode Executive routines or make Local Procedure Calls (LPCs) to the appropriate user-mode subsystem server processes, which in turn use the NT API to communicate with application processes, the kernel-mode subsystems and each other.[5]

The XNU Kernel

XNU kernel

XNU is the kernel that Apple Inc. acquired and developed for use in the macOS, iOS, watchOS, and tvOS operating systems and released as free and open source software as part of the Darwin operating system. XNU is an acronym for X is Not Unix.[6]

Originally developed by NeXT for the NeXTSTEP operating system, XNU was a hybrid kernel combining version 2.5 of the Mach kernel with components from 4.3BSD and an object-oriented API for writing drivers called Driver Kit.

After Apple acquired NeXT, the Mach component was upgraded to OSFMK 7.3,[7] which is a microkernel.[8] Apple uses a heavily modified OSFMK 7.3 functioning as a hybrid kernel with parts of FreeBSD included.[7] (OSFMK 7.3 includes applicable code from the University of Utah Mach 4 kernel and applicable code from the many Mach 3.0 variants that forked off from the original Carnegie Mellon University Mach 3.0 kernel.) The BSD components were upgraded with code from the FreeBSD project and the Driver Kit was replaced with a C++ API for writing drivers called I/O Kit[citation needed].

Description

Like some other modern kernels, XNU is a hybrid, containing features of both monolithic and microkernels, attempting to make the best use of both technologies, such as the message passing capability of microkernels enabling greater modularity[citation needed] and larger portions of the OS to benefit from protected memory,[citation needed] as well as retaining the speed of monolithic kernels for certain critical tasks.

Others

See also

Notes

  1. ^ "Hybrid Kernel - OSDev Wiki". wiki.osdev.org. Retrieved 2021-01-11.
  2. ^ "What is Hybrid Kernel? - Definition from Techopedia". Techopedia.com. 22 August 2011. Retrieved 2021-01-11.
  3. ^ "Linus Torvalds". As to the whole "hybrid kernel" thing - it's just marketing. It's "Oh, those microkernels had good PR, how can we try to get good PR for our working kernel? Oh, I know, let's use a cool name and try to imply that it has all the PR advantages that that other system has.
  4. ^ a b "MS Windows NT Kernel-mode User and GDI White Paper". Microsoft Corporation. 2007. Retrieved 2022-08-24.
  5. ^ Probert, Dave (2005). "Overview of Windows Architecture". Using Projects Based on Internal NT APIs to Teach OS Principles. Microsoft Research/Asia - Beijing. Archived from the original on 2007-11-28. Retrieved 2007-03-01.
  6. ^ "Porting UNIX/Linux Applications to OS X: Glossary". Apple Computer. 2005. Retrieved 2017-06-16.
  7. ^ a b Jim Magee. WWDC 2000 Session 106 - Mac OS X: Kernel. 14 minutes in.
  8. ^ Douglas M. Wells (1994). A Trusted, Scalable, Real-Time Operating System Environment (PDF). 1994 IEEE Dual-Use Technologies and Applications Conference. S2CID 5205380. Archived from the original (PDF) on 2017-08-22.
  9. ^ Drew Major; Greg Minshall; Kyle Powell. "An Overview of the NetWare Operating System".
  10. ^ "OS/2 Kernel". Archived from the original on 2021-01-18. Retrieved 2020-09-04.

References

Read other articles:

Men's Greco-Roman 96 kgat the Games of the XXX OlympiadVenueExCeL LondonDate7 August 2012Competitors19 from 19 nationsMedalists Ghasem Rezaei  Iran Rustam Totrov  Russia Artur Aleksanyan  Armenia Jimmy Lidberg  Sweden← 20082016 → Wrestling at the2012 Summer OlympicsQualificationFreestyleGreco-RomanWomen55 kg55 kg48 kg60 kg60 kg55 kg66 kg66 kg63 kg74 kg74 kg72 kg84 kg84 kg96 kg96 kg120 kg120 kgvte Main article: Wrestling at the 2012 Summer O...

 

 

Voce principale: Coppa delle Coppe 1994-1995. Finale della Coppa delle Coppe 1994-1995La Coppa delle Coppe vinta dal Real SaragozzaInformazioni generaliSport Calcio CompetizioneCoppa delle Coppe 1994-1995 Data10 maggio 1995 CittàParigi ImpiantoParco dei Principi Spettatori42 424 Dettagli dell'incontro  Real Saragozza  Arsenal 2 1 dopo i tempi supplementari Arbitro Piero Ceccarini Successione ← Finale della Coppa delle Coppe 1993-1994 Finale della Coppa delle Coppe ...

 

 

Roman emperor from 393 to 423 HonoriusDetail of Honorius as depicted on the consular diptych of Probus, AD 406Roman emperor in the West Augustus23 January 393 – 15 August 423 (senior from 17 January 395)PredecessorTheodosius ISuccessorJoannesCo-rulersArcadius (East, 393–408)Theodosius II (East, 408–423)Attalus (Rome, 409–410)Constantine III (Gaul, 409–411)Constans II (Gaul, 409–411)Constantius III (West, 421)Born9 September 384ConstantinopleDied15 August 423 (aged 38)Ravenna,...

Biografi ini tidak memiliki referensi atau sumber sehingga isinya tidak dapat dipastikan. Bantu memperbaiki artikel ini dengan menambahkan sumber tepercaya. Materi kontroversial atau trivial yang sumbernya tidak memadai atau tidak bisa dipercaya harus segera dihapus.Cari sumber: Rudy Choirudin – berita · surat kabar · buku · cendekiawan · JSTOR (Pelajari cara dan kapan saatnya untuk menghapus pesan templat ini) Rudy ChoirudinLahir28 Oktober 1964 (umur&...

 

 

2007 single by Rina Aiuchi I Believe You ~Ai no Hana~Limited edition coverSingle by Rina Aiuchifrom the album Trip B-sideHey!Harmony (Limited edition)ReleasedMay 7, 2008 (2008-05-07)GenreJ-popLength5:05LabelGiza StudioSongwriter(s)Rina AiuchiKoji GotoProducer(s)Rina AiuchiKannonjiRina Aiuchi singles chronology Nemurenu Yo ni / Party Time Party Up(2007) I Believe You ~Ai no Hana~ (2008) Kimi to no Deai ~Good Bye My Days~ (2007) I Believe You ~Ai no Hana~ (I believe you ~愛の...

 

 

Флаг гордости бисексуалов Бисексуальность      Сексуальные ориентации Бисексуальность Пансексуальность Полисексуальность Моносексуальность Сексуальные идентичности Би-любопытство Гетерогибкость и гомогибкость Сексуальная текучесть Исследования Шк...

British Rail Class D2/10D2767Type and originPower typeDiesel-hydraulicBuilderNorth British Locomotive CompanySerial number27703–27714, 27815–27839, 27998–28033Build date1957–1961Total produced73SpecificationsConfiguration:​ • Whyte0-4-0DH • UICBGauge4 ft 8+1⁄2 in (1,435 mm) standard gaugeWheel diameterD2708–D2719: 3 ft 6 in (1.067 m);D2720–D2780: 3 ft 9 in (1.143 m)Loco weightD2708–D2719: 30....

 

 

ヨハネス12世 第130代 ローマ教皇 教皇就任 955年12月16日教皇離任 964年5月14日先代 アガペトゥス2世次代 レオ8世個人情報出生 937年スポレート公国(中部イタリア)スポレート死去 964年5月14日 教皇領、ローマ原国籍 スポレート公国親 父アルベリーコ2世(スポレート公)、母アルダその他のヨハネステンプレートを表示 ヨハネス12世(Ioannes XII、937年 - 964年5月14日)は、ロ...

 

 

豪栄道 豪太郎 場所入りする豪栄道基礎情報四股名 澤井 豪太郎→豪栄道 豪太郎本名 澤井 豪太郎愛称 ゴウタロウ、豪ちゃん、GAD[1][2]生年月日 (1986-04-06) 1986年4月6日(38歳)出身 大阪府寝屋川市身長 183cm体重 160kgBMI 47.26所属部屋 境川部屋得意技 右四つ・出し投げ・切り返し・外掛け・首投げ・右下手投げ成績現在の番付 引退最高位 東大関生涯戦歴 696勝493敗...

Частина серії проФілософіяLeft to right: Plato, Kant, Nietzsche, Buddha, Confucius, AverroesПлатонКантНіцшеБуддаКонфуційАверроес Філософи Епістемологи Естетики Етики Логіки Метафізики Соціально-політичні філософи Традиції Аналітична Арістотелівська Африканська Близькосхідна іранська Буддій�...

 

 

American musician David PaichPaich in 2003Background informationBirth nameDavid Frank PaichBorn (1954-06-25) June 25, 1954 (age 69)Los Angeles, California, U.S.GenresRockpopjazz fusionOccupationsMusiciansongwritersingerrecord producerInstrumentsKeyboardsvocalsYears active1973–presentMember ofTotoSpouse(s) Lorraine Paich ​(m. 1984)​Musical artist David Frank Paich (born June 25, 1954) is an American keyboardist, singer, and songwriter, best known as the co-f...

 

 

  此條目介紹的是巴西总统。关于巴西同名市镇,请见「热图利奥·瓦尔加斯_(南里奥格兰德州)」。 此條目翻譯品質不佳。 (2021年12月21日)翻譯者可能不熟悉中文或原文語言,也可能使用了機器翻譯。請協助翻譯本條目或重新編寫,并注意避免翻译腔的问题。明顯拙劣的翻譯請改掛{{d|G13}}提交刪除。 热图利奥·瓦加斯Getúlio Vargas第17任巴西總統任期1930年11月3日—1945...

Daughter of Julius Caesar and Cornelia For other people with similar names, see Julia (women of the Julii Caesares) and Julia Caesar. JuliaJulia from Promptuarii Iconum Insigniorum. The inscription reads: Julia; Gaius Caesar's daughter; Pompey's wife.Bornc. 76 BCRomeDiedAugust 54 BC (aged c. 22)RomeSpousePompey (m. 59 BC)PartnerServilius CaepioChildrenOne (died at a few days old)ParentsJulius Caesar (father)Cornelia (mother) Julia (c. 76 BC – August 54 BC) was the daughter of Julius Caesar ...

 

 

خطوط فيولينغ الجوية   إياتاVY إيكاوVLG رمز النداءVUELING تاريخ الإنشاء 2004 البورصة بورصة مدريد (VLG)  الجنسية إسبانيا  الشركة الأم مجموعة الخطوط الجوية الدولية  الشعار (بالإنجليزية: Possible by Vueling)‏  المالك مجموعة الخطوط الجوية الدولية  المقرات الرئيسية إل بارت دي يوبر...

 

 

United Nations resolution adopted in 2011 UN Security CouncilResolution 2007Serge BrammertzDate14 September 2011Meeting no.6,613CodeS/RES/2007 (Document)SubjectInternational Criminal Tribunal for the former YugoslaviaVoting summary15 voted forNone voted againstNone abstainedResultAdoptedSecurity Council compositionPermanent members China France Russia United Kingdom United StatesNon-permanent members Bosnia–Herzegovina Brazil Colombia German...

American philosopher and literary critic (1897–1993)For the Irish hurler, see Kenneth Burke (hurler). Kenneth BurkeBornKenneth Duva BurkeMay 5, 1897 (1897-05-05)Pittsburgh, Pennsylvania, U.S.DiedNovember 19, 1993 (1993-11-20) (aged 96)Andover, New Jersey, U.S.Occupation(s)Literary theorist and philosopherInstitutionsUniversity of Chicago Kenneth Duva Burke (May 5, 1897 – November 19, 1993) was an American literary theorist, as well as poet, essayist, and novelist, who wrote...

 

 

本條目存在以下問題,請協助改善本條目或在討論頁針對議題發表看法。 此條目標題「閩南裔臺灣人」為暫定標題,可能為原創、不準確或有爭議。 (2010年12月23日)請注意使用此暫定標題並不代表對其認可,應先討論以達成共識,再更名(移動)至更適合的標題或維持原狀。 此條目可能包含原创研究。 (2013年8月17日)请协助補充参考资料、添加相关内联标签和删除原创研究内...

 

 

Nokia 6103 adalah produk telepon genggam yang dirilis oleh perusahaan Nokia. Telepon genggam ini memiliki dimensi 85 x 45 x 24 mm dengan berat 97 gram. Fitur Kamera digital VGA SMS MMS Obrolan Pesan suara Polifonik Permainan Radio FM Internet GPRS Internet Inframerah Pranala luar informasi di GSMarena lbsNokiaAnak usaha Nokia Bell Labs Nokia Networks Nokia Technologies Unit lain NGP Capital Nuage Networks Akuisisi Alcatel-Lucent Dopplr earthmine Enpocket F5 Networks Intellisync Ipsilon N...

المكتبة الرقمية العالميةالشعارBibliothèque numérique mondialeMировая цифровая библиотекаBiblioteca Digital MundialWorld Digital Library世界数字图书馆معلومات عامةموقع الويب wdl.org (الإنجليزية) تجاري؟ لانوع الموقع تعليم دوليأنشأه مكتبة الكونغرسالبلد الأصلي  الولايات المتحدة تاريخ الإطلاق 21 أبريل 2009...

 

 

Irish people in indentured servitude in British Empire overseas territories This article is about the history of Irish indentured servants. For the myth that some of these servants were slaves, see Irish slaves myth. For indentured servitude more generally, see Indentured servitude. Modern map of the Caribbean. The Irish went to Barbados, Jamaica and the Leeward Islands. Irish indentured servants were Irish people who became indentured servants in territories under the control of the British ...