Skip to main content

freelist_to_deque

Function freelist_to_deque 

Source
pub fn freelist_to_deque(leaves: Vec<u32>) -> VecDeque<u32>
Expand description

Helper: collect a freelist into a VecDeque<u32> sorted ascending — the ordering the PageAllocator uses to draw next free pages from.