Changes to Kernel (operating system)

TechWritereditor · 4 Dec 2026, 21:27 · “New page”

+ added − removed (first version)

Title

Removed:  
Added: Kernel (operating system)

Short description

Removed:  
Added: Core program of an operating system

Type

Removed:  
Added: technology

Summary

Removed:  
Added: The kernel is the central part of an operating system: it runs with full control of the hardware and manages memory, processes and devices on behalf of other programs. Applications ask it for services through system calls.

Fact box

Removed:  
Added: Type: Core operating-system software
Added: Runs in: Kernel (privileged) mode
Added: Main jobs: Memory, process and device management; system calls
Added: Designs: Monolithic, microkernel, hybrid
Added: Examples: Linux, Mach, XNU

Article

Added: The **kernel** is the core code of an [[Operating system]], the lowest-level software that provides the basic services other programs rely on.[^1] It sits between a computer's hardware and the programs running on it, and manages the machine's resources.[^2]
 
Added: ## What it does
Added: Processors can run in a privileged "kernel mode" or a restricted "user mode". The kernel runs in kernel mode, where it can carry out privileged operations such as setting up memory mapping, changing processor modes and performing input and output, while ordinary applications run in user mode and can touch only their own memory.[^1][^3] Typical kernel jobs include managing memory, deciding which processes use the processor and for how long, handling interrupts, and running device drivers that connect programs to hardware.[^1][^2]
Added:  
Added: Programs request the kernel's help through system calls, which cover tasks such as creating processes, managing memory and files, and talking to devices.[^3][^2] A library routine places the request's details in processor registers and triggers a "trap" that switches the processor into kernel mode.[^3] The number of system calls varies widely: about 45 in Sixth Edition [[Unix]] and about 250 in [[Linux]].[^3]
Added:  
Added: ## Designs
Added: In a monolithic kernel, nearly all operating-system code runs inside the kernel as one large program. This is fast, but a bug anywhere can affect the whole system.[^1][^3] Linux, BSD Unix and [[Microsoft Windows]] are given as examples.[^3] A microkernel keeps only essentials, such as memory management, scheduling and communication between processes, inside the kernel, and runs other services as separate programs that exchange messages. This improves isolation of faults but costs performance because of frequent switching between modes.[^1][^3] The Mach kernel, developed at Carnegie Mellon University, is one example.[^1] Hybrid kernels fall between the two; examples include XNU, used in macOS, and the kernels of various Windows versions.[^1]
Added:  
Added: ## See also
Added: - [[Operating system]]
Added: - [[Linux]]
Added: - [[Unix]]
Added: - [[Microsoft Windows]]

Sources

Removed:  
Added: CS 321 Spring 2013: Lecture Notes for Monday, January 28, 2013 (OS structure) | https://www.cs.uaf.edu/2013/spring/cs321/lectures/lec-2013_01_28-osstruct.html | University of Alaska Fairbanks | 2013-01-28
Added: What is the Linux kernel? | https://www.redhat.com/en/topics/linux/what-is-the-linux-kernel | Red Hat
Added: COS 318: Operating Systems — OS Structures and System Calls | https://www.cs.princeton.edu/courses/archive/fall14/cos318/lectures/3.OSStructure.pdf | Princeton University

Categories

Removed:  
Added: Operating systems

Other names

Removed:  
Added: Kernel
Added: OS kernel
Added: Operating system kernel