VZALLOC_NODE

Section: Memory Management in Linux (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

vzalloc_node - allocate memory on a specific node with zero fill  

SYNOPSIS

void * vzalloc_node(unsigned long size, int node);
 

ARGUMENTS

size

allocation size

node

numa node
 

DESCRIPTION

Allocate enough pages to cover size from the page level allocator and map them into contiguous kernel virtual space. The memory allocated is set to zero.

For tight control over page level allocator and protection flags use __vmalloc_node instead.  

COPYRIGHT