---
name: "kmalloc_node"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/kmalloc_node"
---

# kmalloc\_node(9)

allocate memory from a specific node

## NAME

kmalloc\_node - allocate memory from a specific node

## SYNOPSIS

**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.

## DESCRIPTION

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

## COPYRIGHT
