operating-systems

Definition

Non-Process Kernel

A non-process kernel is an OS architecture where the concept of a process applies only to user programs. The kernel is not a process but a separate monolithic entity executing outside any process context.

When a user process performs a system call or an interrupt occurs, the CPU performs a mode switch and leaves the process context to enter the kernel’s dedicated environment.

Mechanism

Execution

The kernel operates in its own protected memory with a dedicated system stack.

Context

When kernel code is active, the user process context is suspended until the kernel returns control.

Independence

The kernel is a collection of routines distinct from the user processes they manage.

Properties

Strict Separation

Clear boundary between OS code and user code.

Protected Environment

Kernel has its own address space and stack, robust against user process failures.

Historical Usage

Common in older operating systems and some modern real-time systems.

Analogy

Train and Station Master

User processes are trains; the non-process kernel is a station master:

  • A train (process) journeys independently
  • At a station (system call), the train halts
  • The station master (kernel) performs duties entirely outside the train
  • Only after completion is the train permitted to resume

The kernel is an external supervisor, not a participant in process execution.