Kernel (computer science)

Shows the job of a kernel in a computer

A kernel is the central part of an operating system. It manages the operations of the computer and the hardware, most notably memory and CPU time.[1] Kernels also provide services which programs can use through system calls.

There are five types of kernels:

  • A micro kernel - A kernel which only contains the basic functionality;
  • A monolithic kernel - A kernel which contains many device drivers. The Linux kernel is an example of a monolithic kernel.
  • Hybrid Kernel - The Microsoft Windows NT kernel is an example of a hybrid kernel.
  • Exokernel
  • Nanokernel

A typical computer user never interacts directly with the kernel. It runs behind the scenes and cannot be seen, except for the text logs that it prints.

Operations of kernel

The kernel is the most fundamental part of an operating system. It can be thought of as the program which controls all other programs on the computer. When the computer starts, it goes through some initialization (booting) functions, such as checking memory. It is responsible for assigning and unassigning memory space which allows software to run.

The kernel provides services so programs can request the use of the network card, the disk or other pieces of hardware. The kernel forwards the request to special programs called device drivers which control the hardware. It also manages the file system and sets interrupts for the CPU to enable multitasking. Many kernels are also responsible for ensuring that faulty programs do not interfere with the operation of others by denying access to memory that has not been allocated to them and restricting the amount of CPU time they can consume. It is the heart of the operating system.

Micro kernels and monolithic kernels

Operating systems commonly use monolithic kernels. In Linux, for example, device drivers are often part of a kernel (specifically Loadable Kernel Modules). When a device is needed, its extension is loaded and 'joined' onto the kernel making the kernel larger. Monolithic kernels can cause trouble when one of these drivers is faulty, such as if a beta driver is downloaded. Because it is part of the kernel the faulty driver can override the mechanisms that deal with faulty programs (see above). This can mean that the kernel, and thus the entire computer, can cease to function. If there are too many devices, the kernel can also run out of memory causing a system crash or making the computer very slow.

Microkernels are a way of solving this problem. In a microkernel operating system, the kernel deals only with critical activities, such as controlling the memory and CPU, and nothing else. Drivers and other functions that monolithic kernels would normally include within the kernel are moved outside the kernel, where they are under control. Instead of being an uncontrollable part of the kernel the beta driver is, therefore, no more likely to cause a crash than a beta web browser. That is, if a driver goes wrong it can simply be restarted by the kernel. Unfortunately, creating microkernel based operating systems is very difficult and there are no common microkernel operating systems. Minix and QNX are both microkernel operating systems.

References

  1. "Kernel". Linfo. Bellevue Linux Users Group.

Read other articles:

У этого термина существуют и другие значения, см. Белосельское сельское поселение. Сельское поселение России (МО 2-го уровня)Белосельское сельское поселение Страна  Россия Субъект РФ Адыгея Район Красногвардейский район Включает 6 населённых пунктов Адм. центр село Б

 

Museu Histórico de Alcântara Museu Histórico de Alcântara Tipo museu Geografia Localização - Brasil [edite no Wikidata] O Museu Histórico de Alcântara é um museu público estadual localizo na cidade de Alcântara, no Maranhão, em sua Praça da Matriz. Foi instalado em 1977, em um sobrado colonial que pertenceu ao Barão de São Bento, exemplar típico dos casarões maranhenses do século XIX, um testemunho de um período de opulência e riqueza baseado nas monoculturas do arroz ...

 

Ancient Roman center of the city, a landmark of Rome, Italy This article is about the particular space in the city of Rome. For the general structure found in many Roman cities, see Forum (Roman). Roman ForumForum RomanumSurviving structures: Tabularium, Gemonian stairs, Tarpeian Rock, Temple of Saturn, Temple of Vespasian and Titus, Arch of Septimius Severus, Curia Julia, Rostra, Basilica Aemilia, Forum Main Square, Basilica Iulia, Temple of Caesar, Regia, Temple of Castor and Pollux, Temple...

Location of Adams County in Idaho This is a list of the National Register of Historic Places listings in Adams County, Idaho. This is intended to be a complete list of the properties and districts on the National Register of Historic Places in Adams County, Idaho, United States. Latitude and longitude coordinates are provided for many National Register properties and districts; these locations may be seen together in a map.[1] There are 8 properties and districts listed on the Nationa...

 

Eurasia This is a list of the extreme points of Eurasia, the points that are farther north, south, east or west than any other location on the continent. Some of these locations are open to debate, owing to the diverse definitions of Europe and Asia. Mainland Eurasia is entirely located within the northern hemisphere and mostly within the eastern hemisphere, yet it touches the western hemisphere on both extremes. Thus, both the easternmost and westernmost points of Eurasia are in the western ...

 

Central Archives of Historical Records in WarsawArchiwum Główne Akt DawnychSeal of the archiveArchive headquarters at Długa 7 Street in WarsawNon-ministerial government department overviewFormedSeptember 2, 1808 (1808-09-02)JurisdictionPolandHeadquartersWarsaw, Poland52°15′00″N 21°00′30″E / 52.250078°N 21.00841°E / 52.250078; 21.00841Non-ministerial government department executiveHubert Wajs, directorWebsiteagad.gov.pl An example document ...

The article's lead section may need to be rewritten. Please help improve the lead and read the lead layout guide. (April 2017) (Learn how and when to remove this template message) Hariharananda GiriHariharananda GiriPersonalBornRabindranath Bhattacharya(1907-05-27)27 May 1907Habibpur, Nadia district, West Bengal, IndiaDied3 December 2002(2002-12-03) (aged 95)Miami, Florida, United StatesReligionHinduismSignatureOrderKriya Yoga LineagePhilosophyKriya YogaReligious careerGuruBijoy Krishna ...

 

Taekwondo padaPekan Olahraga Nasional XIX Poomsae Putra Putri   Perorangan     Perorangan     Beregu Beregu Kyorugi Putra Putri   54 kg     46 kg     58 kg 49 kg 63 kg 53 kg 68 kg 57 kg 74 kg 62 kg 80 kg 67 kg 87 kg 73 kg +87 kg +73 kg Taekwondo 87 kg putra pada Pekan Olahraga Nasional XIX dilaksanakan pada tanggal 26 september 2016 di Gymnasium FPOK, Universitas Pendidikan Indonesia, Kota Bandung, Jawa Barat.[1] Jadwal Seluruh wa...

 

Not to be confused with Paint Creek (Scioto River tributary). Overview from the Dillman Road bridge Paint Creek is a stream in Preble County, Ohio, in the United States.[1] It is a tributary of Sevenmile Creek. Paint Creek was named from deposits of ochre found there which Native Americans used for body painting.[2] Paint Creek is dammed to form a reservoir, Lake Lakengren. Location Mouth: Confluence with Sevenmile Creek south of Camden at 39°37′04″N 84°38′54″W࿯...

Palestinian writer (1905–1983) Asma Tubi Asma Tubi (1905–1983) was a Palestinian writer. Biography She was born into a Palestinian Christian family in Nazareth and was educated at the English school there. She studied Greek and then the Quran, to improve her writing skills in Arabic.[1] Tubi moved to Acre after being married. She was a founding member of the Women's Union there.[2] She was also a member of the YWCA and the Young Orthodox Women's Association and served as p...

 

Official coat of arms of the City of Toronto Coat of arms of TorontoCrestIssuant from a mural crown Or charged with a heart Gules between two roses Argent barbed Vert seeded Or, a mound Vert thereon a golden eagle wings raised proper.BlazonOr a chief-pale Azure.SupportersOn a mound Vert rising above barry wavy Azure and Argent and charged with three pales wavy Azure fimbriated Argent, dexter a beaver proper gorged with a cord Gules pendant therefrom a hexagon Or charged with an alder leaf Ver...

 

Fijian rugby union footballer Rugby playerSireli BoboBirth nameIsireli BoboDate of birth (1976-01-28) 28 January 1976 (age 47)Place of birthRakiraki, FijiHeight1.90 m (6 ft 3 in)Weight99 kg (15 st 8 lb)[1]Rugby union careerPosition(s) WingSenior careerYears Team Apps (Points)1993–19941994–971998–9919991999–20002001–0220032003–042004–20052005–072007–20132013-142014-201520152015-16 YalalevuVatukoulaSuva PoliceNatuicakeCascaisUCM Canoe...

Painting by Gustav Klimt The KissArtistGustav KlimtYear1907-1908[1]MediumOil and gold leaf on canvas[2]Dimensions180 cm × 180 cm (71 in × 71 in)LocationÖsterreichische Galerie Belvedere, Vienna, Austria The Kiss (in German Der Kuss) is an oil-on-canvas painting with added gold leaf, silver and platinum by the Austrian Symbolist painter Gustav Klimt.[3] It was painted at some point in 1907 and 1908, during the height of what ...

 

Morning UpdateGenreGelar wicaraBeritaPresenterAkhmad FadliHaifa NafisaMuhamad Lutfi AgizalCrystal OceanieNegara asalIndonesiaBahasa asliBahasa IndonesiaProduksiDurasi60 menit (Senin-Jumat)Rilis asliJaringaniNewsFormat gambar480i SDTVFormat audioStereoRilis30 Agustus 2021 –sekarangAcara terkaitIntermezzoCNN Indonesia Good Morning (di CNN Indonesia dan Trans TV)Selamat Pagi dan inLine (di Trans7) Morning Update adalah sebuah program gelar wicara dan berita yang tayang di iNews mulai 30 A...

 

Pour les articles homonymes, voir UCCS. UCCSLaboratoire de génie des procédés catalyse et environnement - UCCS Unité de catalyse et de chimie du solide - bioréacteur biomasse éco-matériauxHistoireFondation 2006CadreSigle UCCS)Code UMR 8181Type Laboratoire, unité mixte de rechercheDomaine d'activité Génie des procédés, Catalyse supramoléculaire, Chimie du solideSiège Villeneuve-d'AscqPays  FranceCoordonnées 50° 36′ 22″ N, 3° 08′ 14″ E...

Early Christian hymn of praise Ambrosian Hymn redirects here. For hymns written by Ambrose, see Ambrosian hymns. Te Deum stained glass window by Christopher Whall at St Mary's church, Ware, Hertfordshire The Te Deum (/teɪ ˈdeɪəm/ or /tiː ˈdiːəm/,[1][2] Latin: [te ˈde.um]; from its incipit, Te Deum laudamus (Latin for 'Thee, O God, we praise') is a Latin Christian hymn traditionally ascribed to AD 387 authorship, but with antecedents that place it ...

 

New Zealand theatre director and choreographer During the 2016 rehearsal of New Zealand Opera production of Mozart's Magic Flute Sara Brodie (born 1970) is a New Zealand theatre director and choreographer.[1][2] Biography Brodie was born in Christchurch, New Zealand. She moved to London and spent seven years working there as an actress, dancer, casting director and behind the scenes before returning to New Zealand in 1996.[2] In 2000, Brodie completed a master's degree...

 

Strike Back is a British/American action and military television series, based on a novel of the same name by novelist and former Special Air Service soldier Chris Ryan. The series follows the actions of Section 20, a secretive branch of the British Defence Intelligence service, who operate several high risk, priority missions throughout the globe. The series began broadcasting on Sky1 on 5 May 2010, showing the first six-part series. After a second series was commissioned, it was announced t...

В Википедии есть статьи о других людях с такой фамилией, см. Вавилов; Вавилов, Евгений. Евгений Николаевич Вавилов Дата рождения 13 февраля 1923(1923-02-13) Место рождения Москва, СССР Дата смерти 25 апреля 1978(1978-04-25) (55 лет) Награды и премии Евгений Николаевич Вавилов (13 февр...

 

雪山獅子旗 吐蕃時期使用的軍旗 雪山獅子旗是源於吐蕃歷史上的軍旗、而於1912年設計、由十三世達賴喇嘛基於西藏地區傳統而於1918年正式確定頒布的西藏旗幟,從此收回西藏軍隊的各種軍旗,規定以後藏軍也只能使用該旗。西藏流亡政府亦以此旗為西藏國旗,是西藏“國家主權”、自由西藏、與西藏獨立運動的象征之一。[1][2][3][4][3]中華人民...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!