Kernel (operating system)

Edit · View history

Kernel (operating system)

The kernel is the core component of an operating system, responsible for managing system resources and providing a bridge between hardware and software. It handles tasks such as process management, memory management, device drivers, and system call handling. The kernel operates in a privileged mode—often called kernel space—separate from user applications, which run in user space. This isolation ensures system stability and security, as user programs cannot directly interfere with critical hardware operations.

Key Responsibilities

The kernel's primary duties include:

History

Early operating systems, such as those on mainframe computers, did not have a distinct kernel; all code ran in a single address space. The concept of a separate kernel emerged with multiprogramming and time-sharing systems in the 1960s. The MULTICS project introduced layered protection rings, influencing modern kernel design. The Unix operating system, developed at Bell Labs in the 1970s, popularized a monolithic kernel architecture, where most system services run in kernel space. The Linux kernel (1991) and the Windows NT kernel (1993) are prominent examples. Later, microkernel designs, like MINIX and QNX, aimed to minimize the kernel by moving many services to user space. Hybrid kernels, such as XNU (used in macOS and iOS), combine elements of both approaches.

Types of Kernels