Subsystems
The five subsystems
macOS is not one thing. It's a Mach kernel core wrapped in a BSD personality, fronted by a C++ driver framework, sitting on a copy-on-write filesystem, all managed by a virtual memory layer that spans every running process. Each card below opens into a deep dive of one piece.
Mach
Tasks, threads, ports, messages, and the virtual-memory primitives every other layer is built on top of.
Explore MachBSD
Processes, files, signals, sockets, system calls — the FreeBSD-derived layer that makes XNU look like a Unix.
Explore BSDIOKit
A C++ object model that turns hardware into a tree of nodes, matched at boot and unloaded on demand.
Explore IOKitAPFS
Apple File System: copy-on-write, snapshots, cloning, sealed system volumes — the format under every modern Mac.
Explore APFSVirtual Memory
Pmap, VM map, the compressor, jetsam — how XNU gives every process a private address space without ever running out of RAM.
Explore Virtual MemorySecurity
Code signing, sandbox profiles, System Integrity Protection, TCC, the Sealed System Volume, and the Secure Enclave — the layered policies that keep an Apple device trustworthy.
Explore SecurityApple Silicon
How XNU adapts to Apple-designed chips: APRR/SPRR for fast W↔X switching, unified memory, the AMX matrix coprocessor, and Rosetta 2's x86_64 translation.
Explore Apple Silicon