Expand description
Physical frame allocator for VeridianOS
Implements a hybrid allocator combining bitmap (for small allocations) and buddy system (for large allocations) with NUMA awareness.
Structs§
- Frame
Allocator - NUMA-aware hybrid frame allocator
- Frame
Allocator Stats - Statistics for frame allocator
- Frame
Number - Physical frame number
- PerCpu
Page Cache - Per-CPU page frame cache to reduce global FRAME_ALLOCATOR contention.
- Physical
Address - Physical memory address
- Physical
Frame - Physical frame representation
- Reserved
Region - Reserved memory region
Enums§
- Frame
Allocator Error - Frame allocator errors
- Memory
Zone - Memory zone for frame allocation
Constants§
- FRAME_
SIZE - Size of a physical frame (4KB)
Functions§
- per_
cpu_ alloc_ frame - Allocate a single physical frame using the per-CPU cache.
- per_
cpu_ free_ frame - Free a single physical frame using the per-CPU cache.
Type Aliases§
- Result
- Frame allocation result