kmalloc_node

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

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.