Allocate memory on a specific node
void * vmalloc_node(unsigned long size, int node);
size
allocation size
node
numa node
Allocate enough pages to cover size from the page level allocator and map them into contiguous kernel virtual space.
For tight control over page level allocator and protection flags use __vmalloc instead.