---
title: "User space vs kernel space"
---

> Documentation Index
> Fetch the complete documentation index at: https://example.com/llms.txt
> Use this file to discover all available pages before exploring further.

# User space vs kernel space

Linux splits memory into [user space](https://example.com/ebpf-field-guide/glossary/#user-space) for applications and [kernel space](https://example.com/ebpf-field-guide/glossary/#kernel-space) for hardware, scheduling, and networking. Ordinary processes cannot read kernel memory directly—they must ask through a `syscall`.

That wall protects the machine, *because* a crashing app cannot take down the OS. It also blinds user-space monitors to packets, drops, and interrupts happening inside the kernel.

> **Key idea:** Every network packet, file open, and CPU schedule passes through the kernel first. Observing from user space means copying data across the boundary.

Source: https://example.com/ebpf-field-guide/core-architecture/kernel-and-vm/boundary/index.mdx
