mempool_create(9) centos man page | unix.com

Man Page: mempool_create

Operating Environment: centos

Section: 9

MEMPOOL_CREATE(9)					    Memory Management in Linux						 MEMPOOL_CREATE(9)

NAME
mempool_create - create a memory pool
SYNOPSIS
mempool_t * mempool_create(int min_nr, mempool_alloc_t * alloc_fn, mempool_free_t * free_fn, void * pool_data);
ARGUMENTS
min_nr the minimum number of elements guaranteed to be allocated for this pool. alloc_fn user-defined element-allocation function. free_fn user-defined element-freeing function. pool_data optional private data available to the user-defined functions.
DESCRIPTION
this function creates and allocates a guaranteed size, preallocated memory pool. The pool can be used from the mempool_alloc and mempool_free functions. This function might sleep. Both the alloc_fn and the free_fn functions might sleep - as long as the mempool_alloc function is not called from IRQ contexts.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 MEMPOOL_CREATE(9)
Related Man Pages
pool_init(9) - netbsd
pool_prime(9) - netbsd
libtalloc_pools(3) - centos
pool(9) - netbsd
pool_get(9) - netbsd
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
DB2 convert digits to binary format