Scheduling & Concurrency
How the kernel shares CPUs among competing tasks and keeps concurrent code correct.
- Scheduler (sched/) — how the kernel decides which task runs next, and when
- Locking (locking/) — the primitives that keep concurrent code correct: spinlocks, mutexes, RCU
- Interrupts (interrupts/) — handling hardware events and safely deferring work
- IPC (ipc/) — how processes communicate: pipes, signals, shared memory, message queues