Dab tsi yog txhais los ntawm Linux kernel?
Dab tsi yog txhais los ntawm Linux kernel?

Video: Dab tsi yog txhais los ntawm Linux kernel?

Video: Dab tsi yog txhais los ntawm Linux kernel?
Video: Networking with Python! Basic Operating System (OS) Navigation 2024, Kaum ib hlis
Anonim

Cov Linux kernel yog qhov pub dawb thiab qhib qhov chaw, monolithic, Unix zoo li kev khiav haujlwm ntsiav . Raws li ib feem ntawm cov cov kernel functionality, ntaus ntawv tsav tsheb tswj lub hardware; "mainlined" (nrog rau hauv lub ntsiav ) devicedrivers tseem txhais tau tias kom ruaj khov heev.

Ib yam li ntawd, tib neeg nug, lub ntsiab lus ntawm Linux kernel yog dab tsi?

Cov Linux kernel yog lub operating system (OS) kernel txhais raws li Unix zoo li hauv xwm. Nws siv nyob rau hauv txawv kev khiav hauj lwm systems, feem ntau nyob rau hauv daim ntawv ntawm txawv Linux kev faib tawm.

Ib sab saum toj no, cov ntsiav twg siv hauv Linux? Feem ntau, feem ntau cov noob poob rau hauv ib qho ntawm peb hom: monolithic, microkernel, thiab hybrid. Linux yog amonolithic ntsiav thaum OS X (XNU) thiab Windows 7 siv hybrid cov noob . Cia wb mus ncig ceev ntawm peb pawg kom peb tuaj yeem nkag mus rau hauv kev nthuav dav ntxiv tom qab.

Tsuas yog li ntawd, txhais tau li cas los ntawm lub kernel?

A Kernel yog lub hauv paus ntawm lub operating system. Nws tswj xyuas cov haujlwm ntawm lub khoos phis tawj thiab kho vajtse - tshwj xeeb tshaj yog lub cim xeeb thiab lub sijhawm CPU. Ib micro ntsiav , uas tsuas muaj cov haujlwm yooj yim; Ib tug monolithic ntsiav , uas muaj ntau yam tsav tsheb.

Puas yog Linux sau hauv C?

Cov Linux kernel yog sau nyob rau hauv lub version ntawm lub C programming lus txhawb nqa los ntawm GCC (uas tau qhia ntau qhov txuas ntxiv thiab hloov mus rau tus qauv C ), ua ke nrog ib tug xov tooj ntawm luv luv seem ntawm code sau hauv cov lus sib dhos (hauv GCC's "AT&T-style"syntax) ntawm lub hom phiaj architecture.

Pom zoo: