Skip to main content

buddy_alloc_fail_counts_snapshot

Function buddy_alloc_fail_counts_snapshot 

Source
pub fn buddy_alloc_fail_counts_snapshot() -> [usize; 12]
Expand description

Returns the buddy allocation failure counts by order.

Use this for diagnostics : e.g., to determine whether a heap panic is caused by genuine memory pressure or by high-order fragmentation.