Skip to content

UmkaOS Architecture Design Document

Canonical reference for all development. This document defines the complete architecture of UmkaOS. All implementation decisions must trace back to this specification.

The architecture is organized into 25 chapters using chapter-scoped section numbering. Cross-references are clickable links between files.

Copyright © 2025 Anton Starikov \<ant.starikov@gmail.com> All rights reserved. This design document is the original work of the author. Reproduction or distribution without explicit permission is prohibited.


How to Read This Document

Section numbering uses Chapter.Section format:

  • Section 11.4 = Chapter 11, Section 4 (in 11-drivers.md)
  • Section 11.4.2 = Chapter 11, Section 4, Subsection 2
  • Adding sections to one chapter never affects other chapters

Cross-references are clickable markdown links: {ref:mount-tree-data-structures-and-operations}


Master Index

Chapter File Domain
1 01-overview.md Design philosophy, architectural goals, performance budget
2 02-boot-hardware.md Boot chain, device discovery, ACPI/DT, multi-architecture support, hardware memory safety
3 03-concurrency.md Locking strategy, lock-free structures, PerCpu, RCU, atomic operations, memory ordering, interrupt handling
4 04-memory.md Physical allocator, virtual memory, page tables, slab, NUMA, compression tier, page cache
5 05-distributed.md Cluster topology, distance matrix, RDMA transport, distributed lock manager, SmartNIC/DPU integration
6 06-dsm.md Page-granularity coherence over RDMA for workloads that benefit from
7 07-scheduling.md EEVDF, RT, deadline scheduling, per-CPU runqueues, EAS, power budgeting, CPU bandwidth, timekeeping
8 08-process.md Task/Process structs, fork/exec/exit, signals, process groups, sessions, real-time guarantees
9 09-security.md Capabilities, credentials, LSM framework, verified boot, TPM, IMA, post-quantum cryptography, confidential computing
10 10-security-extensions.md Companion to Chapter 9: Security Architecture.
11 11-drivers.md Three-tier protection model, isolation mechanisms, KABI, driver model, device registry, zero-copy I/O, IPC, crash recovery, driver subsystems, D-Bus bridge
12 12-kabi.md Stable driver ABI, KABI IDL, vtable design, driver signing, compatibility windows
13 13-device-classes.md NIC, GPU, USB, I2C/SMBus, WiFi, Bluetooth, Camera, Printers, Live Kernel Evolution, Watchdog, SPI, rfkill, MTD, IPMI, UIO, NVMEM, SoundWire
14 14-vfs.md VFS architecture, dentry cache, mount tree, path resolution, overlayfs, mount namespace operations
15 15-storage.md Durability guarantees, block I/O, volume management, block storage networking, clustered filesystems, persistent memory, SATA/AHCI, ext4/XFS/Btrfs, ZFS
16 16-networking.md Socket layer, NetBuf, routing, TCP stack, congestion control, kTLS, overlays/tunnels, netlink, packet filtering, interface naming, network service provider
17 17-containers.md Namespace architecture (8 types), cgroups v2, POSIX IPC, OCI runtime
18 18-virtualization.md KVM host/guest integration, VMX/VHE/H-ext, live migration, PV features, suspend/resume
19 19-sysapi.md Syscall interface, futex, netlink, Windows emulation, dropped compatibility, native syscalls, safe extensibility
20 20-observability.md Fault management architecture, stable tracepoints, debugging/ptrace, unified object namespace (umkafs)
21 21-user-io.md TTY/PTY, console/logging, input (evdev), audio (ALSA), display/graphics (DRM/KMS)
22 22-accelerators.md Unified accelerator framework, accelerator memory/P2P DMA, isolation/scheduling, in-kernel inference, accelerator networking, unified compute model
23 23-ml-policy.md Companion to Chapter 22: AI/ML and Accelerators.
24 24-roadmap.md Driver ecosystem, implementation phases, verification strategy, technical risks, formal verification, appendices
25 25-agentic.md Development model, parallel workflow, phase timelines, sensitivity analysis, recommendations

Parts

Part I: Foundations

Part II: Core Subsystems

Part III: Major Subsystems

Part IV: Specialized Subsystems

Part V: Meta


Detailed Table of Contents

Chapter 1: Architecture Overview

Chapter 2: Boot and Hardware Discovery

Chapter 3: Concurrency Model

Chapter 4: Memory Management

Chapter 5: Distributed Kernel Architecture

Chapter 6: Distributed Shared Memory

Chapter 7: Scheduling and Power Management

Chapter 8: Process and Task Management

Chapter 9: Security Architecture

Chapter 10: Security Extensions

Chapter 11: Driver Architecture and Isolation

Chapter 12: KABI — Kernel Driver ABI

Chapter 13: Device Class Frameworks

Chapter 14: Virtual Filesystem Layer

Chapter 15: Storage and Filesystems

Chapter 16: Networking

Chapter 17: Containers and Namespaces

Chapter 18: Virtualization

Chapter 19: System API

Chapter 20: Observability and Diagnostics

Chapter 21: User I/O Subsystems

Chapter 22: AI/ML and Accelerators

Chapter 23: AI/ML Policy Framework

Chapter 24: Roadmap and Verification

Chapter 25: Agentic Development Methodology