operating-systems

Definition

Kernel Space

Kernel Space is the protected region of virtual memory reserved for the operating system. It contains the kernel code, kernel stacks, and critical data structures like the PCB.

Protection

Access Violation

User programs cannot access kernel space directly. Attempting to address this memory while in user mode triggers a hardware trap (segmentation fault).