Searched refs:page_nid (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/base/ |
H A D | node.c | 793 int page_nid; in register_mem_block_under_node_early() local 809 page_nid = get_nid_for_pfn(pfn); in register_mem_block_under_node_early() 810 if (page_nid < 0) in register_mem_block_under_node_early() 812 if (page_nid != nid) in register_mem_block_under_node_early()
|
/openbmc/linux/mm/ |
H A D | huge_memory.c | 1488 int page_nid = NUMA_NO_NODE; in do_huge_pmd_numa_page() local 1518 page_nid = page_to_nid(page); in do_huge_pmd_numa_page() 1523 if (node_is_toptier(page_nid)) in do_huge_pmd_numa_page() 1525 target_nid = numa_migrate_prep(page, vma, haddr, page_nid, in do_huge_pmd_numa_page() 1539 page_nid = target_nid; in do_huge_pmd_numa_page() 1540 task_numa_fault(last_cpupid, page_nid, HPAGE_PMD_NR, flags); in do_huge_pmd_numa_page() 1560 if (page_nid != NUMA_NO_NODE) in do_huge_pmd_numa_page() 1561 task_numa_fault(last_cpupid, page_nid, HPAGE_PMD_NR, flags); in do_huge_pmd_numa_page()
|
H A D | memory.c | 4769 unsigned long addr, int page_nid, int *flags) in numa_migrate_prep() argument 4777 if (page_nid == numa_node_id()) { in numa_migrate_prep() 4789 int page_nid = NUMA_NO_NODE; in do_numa_page() local 4846 page_nid = page_to_nid(page); in do_numa_page() 4852 !node_is_toptier(page_nid)) in do_numa_page() 4856 target_nid = numa_migrate_prep(page, vma, vmf->address, page_nid, in do_numa_page() 4867 page_nid = target_nid; in do_numa_page() 4869 task_numa_fault(last_cpupid, page_nid, 1, flags); in do_numa_page() 4896 if (page_nid != NUMA_NO_NODE) in do_numa_page() 4897 task_numa_fault(last_cpupid, page_nid, 1, flags); in do_numa_page()
|
H A D | internal.h | 1003 unsigned long addr, int page_nid, int *flags);
|