1KMALLOC_NODE(9) Memory Management in Linux KMALLOC_NODE(9)
2
3
4
6 kmalloc_node - allocate memory from a specific node
7
9 void * kmalloc_node(size_t size, gfp_t flags, int node);
10
12 size
13 how many bytes of memory are required.
14
15 flags
16 the type of memory to allocate (see kcalloc).
17
18 node
19 node to allocate from.
20
22 kmalloc for non-local nodes, used to allocate from a specific node if
23 available. Equivalent to kmalloc in the non-NUMA single-node case.
24
26Kernel Hackers Manual 3.10 June 2019 KMALLOC_NODE(9)