kmalloc_node(9) 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