'\" t .\" Title: vzalloc_node .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Memory Management in Linux .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "VZALLOC_NODE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Memory Management in Linux" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" vzalloc_node \- allocate memory on a specific node with zero fill .SH "SYNOPSIS" .HP \w'void\ *\ vzalloc_node('u .BI "void * vzalloc_node(unsigned\ long\ " "size" ", int\ " "node" ");" .SH "ARGUMENTS" .PP \fIsize\fR .RS 4 allocation size .RE .PP \fInode\fR .RS 4 numa node .RE .SH "DESCRIPTION" .PP Allocate enough pages to cover \fIsize\fR from the page level allocator and map them into contiguous kernel virtual space\&. The memory allocated is set to zero\&. .PP For tight control over page level allocator and protection flags use \fB__vmalloc_node\fR instead\&. .SH "COPYRIGHT" .br