table of contents
other versions
- stretch 4.9.168-1
ALLOC_PAGES_EXACT_NI(9) | Memory Management in Linux | ALLOC_PAGES_EXACT_NI(9) |
NAME¶
alloc_pages_exact_nid - allocate an exact number of physically-contiguous pages on a node.SYNOPSIS¶
void * alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask);
ARGUMENTS¶
nidthe preferred node ID where memory should be
allocated
size
the number of bytes to allocate
gfp_mask
GFP flags for the allocation
DESCRIPTION¶
Like alloc_pages_exact, but try to allocate on node nid first before falling back.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |