suse man page for mempool_resize

Query: mempool_resize

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MEMPOOL_RESIZE(9)					    Memory Management in Linux						 MEMPOOL_RESIZE(9)

NAME
mempool_resize - resize an existing memory pool
SYNOPSIS
int mempool_resize(mempool_t * pool, int new_min_nr, gfp_t gfp_mask);
ARGUMENTS
pool pointer to the memory pool which was allocated via mempool_create. new_min_nr the new minimum number of elements guaranteed to be allocated for this pool. gfp_mask the usual allocation bitmask.
DESCRIPTION
This function shrinks/grows the pool. In the case of growing, it cannot be guaranteed that the pool will be grown to the new size immediately, but new mempool_free calls will refill it. Note, the caller must guarantee that no mempool_destroy is called while this function is running. mempool_alloc & mempool_free might be called (eg. from IRQ contexts) while this function executes.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 MEMPOOL_RESIZE(9)
Related Man Pages
mtx_pool_alloc(9) - debian
mtx_pool_lock(9) - debian
mtx_pool_unlock_spin(9) - debian
libtalloc_pools(3) - centos
memoryallocators(9) - netbsd
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Grant unprivileged user rights to see the output of echo|format but not modify disks
Update kernel Linux without reboot?!
SOCKS proxy & PAM configuration exposure
A (ksh) Library For and From UNIX.com