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.