According to Apple’s standard classification of the XNU kernel, what type of…

2022

According to Apple’s standard classification of the XNU kernel, what type of kernel architecture does OS X use?

Answer: D. Hybrid kernelConcept: Kernel architectures are classified by how much functionality runs inside kernel space. A monolithic kernel runs all core services -- process…

  1. A.

    Monolithic kernel with modules

  2. B.

    Microkernel

  3. C.

    Pure monolithic kernel

  4. D.

    Hybrid kernel

Attempted by 1574 students.

Show answer & explanation

Correct answer: D

Concept: Kernel architectures are classified by how much functionality runs inside kernel space. A monolithic kernel runs all core services -- process management, device drivers, the file system, networking -- together in one kernel address space, favouring speed. A microkernel keeps only the bare essentials (IPC, scheduling, basic memory management) in kernel space and moves drivers and file systems to user space, favouring isolation and modularity. A hybrid kernel borrows the microkernel's modular, message-passing structure for some subsystems while still running other performance-critical services inside kernel space like a monolithic kernel.

Application: Apple’s Kernel Programming Guide explicitly describes the OS X kernel as a hybrid of monolithic and microkernel models. XNU integrates Mach primitives for inter-process communication, virtual memory, and scheduling with BSD components for processes, networking, file systems, and POSIX APIs inside one operating-system kernel. Therefore the standard architectural classification is hybrid kernel.

Contrast with the other options:

  • Monolithic kernel with modules: this label describes a single monolithic design extended by loadable components; module support by itself is an extensibility mechanism, whereas Apple explicitly classifies XNU’s combined design as hybrid.

  • Pure microkernel: only minimal services (IPC, scheduling) sit in kernel space, with drivers and file systems moved to user space -- XNU keeps BSD subsystems in kernel space too, so it is not a pure microkernel.

  • Pure monolithic kernel: this is a single-model architecture, whereas Apple describes XNU as a hybrid that integrates Mach and BSD components.

Apple’s explicit description of XNU as a hybrid of monolithic and microkernel models identifies Hybrid kernel as the standard classification for OS X.

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…