1GET_PFN_RANGE_FOR_NI(9)   Memory Management in Linux   GET_PFN_RANGE_FOR_NI(9)
2
3
4

NAME

6       get_pfn_range_for_nid - Return the start and end page frames for a node
7

SYNOPSIS

9       void __meminit get_pfn_range_for_nid(unsigned int nid,
10                                            unsigned long * start_pfn,
11                                            unsigned long * end_pfn);
12

ARGUMENTS

14       nid
15           The nid to return the range for. If MAX_NUMNODES, the min and max
16           PFN are returned.
17
18       start_pfn
19           Passed by reference. On return, it will have the node start_pfn.
20
21       end_pfn
22           Passed by reference. On return, it will have the node end_pfn.
23

DESCRIPTION

25       It returns the start and end page frame of a node based on information
26       provided by an arch calling add_active_range. If called for a node with
27       no available memory, a warning is printed and the start and end PFNs
28       will be 0.
29
31Kernel Hackers Manual 3.10         June 2019           GET_PFN_RANGE_FOR_NI(9)
Impressum