Skip to main content
Definition Website Computer and Technology

Operating System Kernel

Subject: Computer and Technology noun /ˈɑː.pə.reɪ.tɪŋ ˈsɪs.təm ˈkɜːr.nəl/ 1 definition

  1. Definition (noun)

    Entry #31 · Updated

    An Operating System Kernel is the central, permanently resident software layer of an operating system that acts as the privileged bridge between user applications and underlying computer hardware. Operating in a protected processor mode known as kernel space, it manages CPU scheduling, virtual memory allocation, interrupt handling, file system operations, and hardware device drivers. By establishing a strict privilege boundary between unprivileged user space and direct hardware access, the kernel prevents faulty or malicious programs from corrupting shared resources while exposing standardized capabilities through system calls.

    Common Types

    • Monolithic Kernel: Executes core operating system services—including scheduling, memory management, file systems, and device drivers—within a single shared kernel-space address space for high throughput and low call overhead, as used in Linux.

    • Microkernel: Retains only minimal primitives such as basic inter-process communication (IPC), thread scheduling, and low-level address-space mapping in privileged mode while running drivers and file systems as isolated user-space servers to improve fault containment, as seen in QNX and seL4.

    • Hybrid Kernel: Blends monolithic performance with microkernel modularity by keeping performance-critical subsystems and select drivers in kernel space alongside message-passing or layered abstractions, an architecture used in Windows NT and macOS (XNU).

    • Exokernel: Eliminates most built-in operating system abstractions and securely multiplexes raw physical hardware directly to user-space library operating systems, allowing specialized applications to define custom scheduling or memory policies.

    Example

    When a Python script opens a configuration file on an NVMe solid-state drive, its runtime issues a read system call that switches the CPU from user space into privileged kernel mode. The operating system kernel verifies file permissions, routes the request through the Virtual File System (VFS) and NVMe driver, handles the hardware completion interrupt, and safely copies the file bytes back into the application's memory buffer.