next up previous contents index
Next: 15.6.11 lmm_avail: find the Up: 15.6 API reference Previous: 15.6.9 lmm_free: free previously-allocated

15.6.10 lmm_free_page: free a page allocated with lmm_alloc_page

   

SYNOPSIS

#include <oskit/lmm.h>

void lmm_free_page(lmm_t *lmm, void *block);

DESCRIPTION

This routine simply calls lmm_free with PAGE_SIZE as the size argument, providing a companion to lmm_alloc_page.

PARAMETERS

lmm
The memory pool from which the page was allocated.
block
A pointer to the page to free, as returned by the lmm_alloc_page function.



University of Utah Flux Research Group