Macrosยง
- buddy_
dbg ๐
Structsยง
- Buddy
Allocator - Compaction
Candidate ๐ - Compaction
Stats - Snapshot of the last fragmentation-driven compaction assist attempt.
- Local
Frame ๐Cache - OnDemand
Global ๐Lock - Zone
Stats - Snapshot statistics for a single memory zone.
Enumsยง
- Zone
Pressure - Derived pressure state for a zone snapshot.
Constantsยง
- COMPACTION_
FRAGMENTATION_ ๐THRESHOLD - COMPACTION_
SNAPSHOT_ ๐NONE - DMA_MAX ๐
- LOCAL_
CACHED_ ๐ZONE_ MIGRATETYPE_ SLOTS - LOCAL_
CACHE_ ๐CAPACITY - LOCAL_
CACHE_ ๐FLUSH_ BATCH - LOCAL_
CACHE_ ๐REFILL_ FRAMES - LOCAL_
CACHE_ ๐REFILL_ ORDER - LOCAL_
CACHE_ ๐SLOTS - MOVABLE_
ZONE_ ๐ORDER - NORMAL_
MAX ๐ - PAGE_
SIZE ๐ - UNMOVABLE_
ZONE_ ๐ORDER
Staticsยง
- ALLOC_
IN_ ๐PROGRESS - Per-CPU flag to detect recursive allocations (deadlocks from logs/interrupts)
- BUDDY_
ALLOCATOR ๐ - BUDDY_
ALLOC_ ๐FAIL_ COUNTS - Per-order allocation failure counters.
- COMPACTION_
ATTEMPTS ๐ - COMPACTION_
LAST_ ๐AVAILABLE_ PAGES - COMPACTION_
LAST_ ๐CACHED_ PAGES - COMPACTION_
LAST_ ๐DRAINED_ PAGES - COMPACTION_
LAST_ ๐FRAGMENTATION - COMPACTION_
LAST_ ๐MATCHING_ PAGEBLOCKS - COMPACTION_
LAST_ ๐MIGRATETYPE - COMPACTION_
LAST_ ๐ORDER - COMPACTION_
LAST_ ๐PAGEBLOCK_ COUNT - COMPACTION_
LAST_ ๐PRESSURE - COMPACTION_
LAST_ ๐REQUESTED_ PAGES - COMPACTION_
LAST_ ๐USABLE_ PAGES - COMPACTION_
LAST_ ๐ZONE - COMPACTION_
SUCCESSES ๐ - LOCAL_
CACHED_ ๐FRAMES - LOCAL_
CACHED_ ๐ZONE_ FRAMES - LOCAL_
CACHED_ ๐ZONE_ MIGRATETYPE_ FRAMES - LOCAL_
FRAME_ ๐CACHES - Per-CPU frame caches protected by a
PreemptDisabledguardian. - POISON_
QUARANTINE_ ๐PAGES - Pages permanently withheld from the buddy free lists due to [
meta_guard::POISONED].
Functionsยง
- alloc
- Allocate frames with per-CPU caching on order-0 requests.
- alloc_
migratetype - Allocate frames with an explicit migratetype preference.
- alloc_
order0_ ๐cached - buddy_
alloc_ fail_ counts_ snapshot - Returns the buddy allocation failure counts by order.
- compaction_
stats_ snapshot - Snapshot compaction-assist telemetry without locking the allocator.
- debug_
buddy_ lock_ addr - Returns the global buddy lock address for deadlock tracing.
- drain_
local_ ๐caches_ for_ zone - drain_
local_ ๐caches_ to_ global - free
- Free frames with per-CPU caching on order-0 requests.
- free_
order0_ ๐cached - get_
allocator - Returns allocator.
- init_
buddy_ allocator - Initializes buddy allocator.
- is_
cacheable_ ๐phys_ for - local_
cache_ ๐slot - local_
cached_ ๐dec_ phys - local_
cached_ ๐inc_ phys - local_
cached_ ๐zone_ migratetype_ count - local_
cached_ ๐zone_ migratetype_ slot - poison_
quarantine_ pages_ snapshot - Snapshot of pages quarantined (not recycled) because frame metadata reported poison.
- record_
buddy_ ๐alloc_ fail - Records a buddy allocation failure for the given order.
- record_
compaction_ ๐attempt - refill_
local_ ๐cache - snapshot_
migratetype ๐ - snapshot_
zone_ ๐type - steal_
from_ ๐other_ caches - zone_
index_ ๐for_ phys
Type Aliasesยง
- Global
Guard ๐