KMALLOC_NODE(9) Memory Management in Linux KMALLOC_NODE(9)
NAME
kmalloc_node - allocate memory from a specific node
SYNOPSIS
void * kmalloc_node(size_t size, gfp_t flags, int node);
ARGUMENTS
size
how many bytes of memory are required.
flags
the type of memory to allocate (see kcalloc).
node
node to allocate from.
DESCRIPTION
kmalloc for non-local nodes, used to allocate from a specific node if available. Equivalent to kmalloc in the non-NUMA single-node case.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 KMALLOC_NODE(9)