Skip to main content

lgalloc_refill

Function lgalloc_refill 

Source
pub(crate) fn lgalloc_refill(size: usize) -> LgallocHandle
Expand description

A Timely communication refill function that uses lgalloc.

Returns a handle to lgalloc’ed memory if lgalloc can handle the request, otherwise we fall back to a heap allocation. In either case, the handle must be dropped to free the memory.