# Understanding the kernel

_Peios Kernel / Internals / Start here_

> A reading path through the kernel implementation.

Start with the subsystem you are investigating. The shelves group mechanisms
that commonly need to be understood together.

- **Concurrency and synchronisation:** begin with [Locking](</kernel/internals/locking/overview.md>),
  then explore [Scheduling](</kernel/internals/scheduler/index.md>) and [RCU](</kernel/internals/rcu/index.md>).
- **Core services and memory:** use [Core APIs](</kernel/internals/core-api/index.md>) for
  shared facilities and [Memory management](</kernel/internals/mm/index.md>) for allocation,
  address spaces and reclaim. [BPF](</kernel/internals/bpf/index.md>) covers in-kernel programs.
- **Storage and filesystems:** follow the [Block layer](</kernel/internals/block/index.md>)
  and [Filesystem interfaces](</kernel/internals/filesystems/index.md>).
- **Networking:** start with [Networking](</kernel/internals/networking/index.md>), then
  use [Netlink](</kernel/internals/netlink/specs/index.md>) for protocol specifications and messaging.
- **Security and cryptography:** see [Security](</kernel/internals/security/index.md>)
  and [Cryptographic APIs](</kernel/internals/crypto/index.md>).
- **Power and virtualisation:** see [Power management](</kernel/internals/power/index.md>)
  and [Virtualisation](</kernel/internals/virt/index.md>).

For tuning a running system, use [Administration](</kernel/administration/admin-guide/overview/index.md>).
For implementing or testing a change, use [Kernel development](</kernel/development/start-here/overview.md>).

## Native Peios subsystems

- [KACS](</kernel/internals/kacs/start-here/overview.md>): access control and executable trust.
- [KMES](</kernel/internals/kmes/overview.md>): event emission and delivery.
- [LCS](</kernel/internals/lcs/start-here/overview.md>): layered configuration and registry services.
- [StrataFS](</kernel/internals/stratafs/start-here/overview.md>): layered filesystem resolution and mutation.
- [NTFE](</kernel/internals/ntfe/overview.md>): packet policy and flow decisions.
