Scroll to navigation

MEMPOOL_FREE(9) Memory Management in Linux MEMPOOL_FREE(9)

NAME

mempool_free - return an element to the pool.

SYNOPSIS

void mempool_free(void * element, mempool_t * pool);

ARGUMENTS

void * element
pool element pointer.

mempool_t * pool

pointer to the memory pool which was allocated via mempool_create.

DESCRIPTION

this function only sleeps if the free_fn function sleeps.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11