1ALLOC_PAGES_EXACT_NI(9) Memory Management in Linux ALLOC_PAGES_EXACT_NI(9)
2
3
4
6 alloc_pages_exact_nid - allocate an exact number of
7 physically-contiguous pages on a node.
8
10 void * alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask);
11
13 nid
14 node to allocate on
15
16 size
17 the number of bytes to allocate
18
19 gfp_mask
20 GFP flags for the allocation
21
23 Like alloc_pages_exact, but try to allocate on node nid first before
24 falling back.
25
26 Note this is not alloc_pages_exact_node, which allocates on a specific
27 node, but is not exact.
28
30Kernel Hackers Manual 2.6. June 2019 ALLOC_PAGES_EXACT_NI(9)