memd is the user-space memory policy service. It owns allocation policy decisions above kernel primitive object semantics.
- Rust 100%
| .github | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| ARCHITECTURE.md | ||
| Cargo.toml | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| linker.ld | ||
| README.md | ||
| ROADMAP.md | ||
| rustfmt.toml | ||
| SECURITY.md | ||
EriX Memory Service (memd)
memd is the user-space memory policy service.
It owns allocation policy decisions above kernel primitive object semantics.
Scope
- manage allocation policy over delegated untyped/frame authority
- serve allocation/reclaim requests for root-managed services and processes
- track accounting/ownership metadata needed for deterministic recovery
Out of Scope
- kernel memory primitive implementation
- virtual mapping policy (owned by
vspaced/pagerdsplit)
Inputs and Outputs
- startup contract:
docs/handoff/root-to-services.md - receives capability set from
rootdsuitable for memory policy role - provides allocation-oriented IPC service endpoints to authorized peers
Invariants
- authority usage constrained to delegated capabilities
- deterministic behavior for identical request/boot state
- no hidden global allocator authority
Implementation Status
Runtime baseline:
no_stdexecutable service binary (x86_64-unknown-none) with SysV entry ABI- startup envelope parsing/validation via
lib-bootstrap - role/intake contract validation via
lib-capabi - runtime IPC server loop (
RECV+REPLY) for alloc/free frame requests - deterministic in-service frame accounting and slot allocation