mempool_alloc(9) centos man page | unix.com

Man Page: mempool_alloc

Operating Environment: centos

Section: 9

MEMPOOL_ALLOC(9)					    Memory Management in Linux						  MEMPOOL_ALLOC(9)

NAME
mempool_alloc - allocate an element from a specific memory pool
SYNOPSIS
void * mempool_alloc(mempool_t * pool, gfp_t gfp_mask);
ARGUMENTS
pool pointer to the memory pool which was allocated via mempool_create. gfp_mask the usual allocation bitmask.
DESCRIPTION
this function only sleeps if the alloc_fn function sleeps or returns NULL. Note that due to preallocation, this function *never* fails when called from process contexts. (it might fail if called from an IRQ context.)
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 MEMPOOL_ALLOC(9)
Related Man Pages
bio_alloc_bioset(9) - centos
blk_make_request(9) - suse
memoryallocators(9) - netbsd
pool_get_resource_binding(3pool) - sunos
pool_set_binding(3pool) - sunos
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
Docker learning Phase-I
[TIP] Processing YAML files with yq