'\" t .\" Title: vmalloc_node .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Memory Management in Linux .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "VMALLOC_NODE" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "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" vmalloc_node \- allocate memory on a specific node .SH "SYNOPSIS" .HP \w'void\ *\ vmalloc_node('u .BI "void * vmalloc_node(unsigned\ long\ " "size" ", int\ " "node" ");" .SH "ARGUMENTS" .PP \fIunsigned long size\fR .RS 4 allocation size .RE .PP \fIint node\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\&. .PP For tight control over page level allocator and protection flags use \fB__vmalloc\fR instead\&. .SH "COPYRIGHT" .br