kmalloc_node(9)

kmalloc_node9

Allocate memory from a specific node

Usage

void * kmalloc_node(size_t size, gfp_t flags, int node);

Arguments

size

how many bytes of memory are required.

flags

the type of memory to allocate (see kcalloc).

node

node to allocate from.

Overview

kmalloc for non-local nodes, used to allocate from a specific node if available. Equivalent to kmalloc in the non-NUMA single-node case.

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.