alloc_pages_exact_nid(9)

alloc_pages_exact_nid9

Allocate an exact number of physically-contiguous pages on a node.

Usage

void * alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask);

Arguments

nid

the preferred node ID where memory should be allocated

size

the number of bytes to allocate

gfp_mask

GFP flags for the allocation

Overview

Like alloc_pages_exact, but try to allocate on node nid first before falling back.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.