Home
last modified time | relevance | path

Searched refs:page_nid (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/base/
Dnode.c784 int page_nid; in register_mem_block_under_node_early() local
800 page_nid = get_nid_for_pfn(pfn); in register_mem_block_under_node_early()
801 if (page_nid < 0) in register_mem_block_under_node_early()
803 if (page_nid != nid) in register_mem_block_under_node_early()
/Linux-v6.1/mm/
Dhuge_memory.c1482 int page_nid = NUMA_NO_NODE; in do_huge_pmd_numa_page() local
1503 page_nid = page_to_nid(page); in do_huge_pmd_numa_page()
1508 if (node_is_toptier(page_nid)) in do_huge_pmd_numa_page()
1510 target_nid = numa_migrate_prep(page, vma, haddr, page_nid, in do_huge_pmd_numa_page()
1523 page_nid = target_nid; in do_huge_pmd_numa_page()
1535 if (page_nid != NUMA_NO_NODE) in do_huge_pmd_numa_page()
1536 task_numa_fault(last_cpupid, page_nid, HPAGE_PMD_NR, in do_huge_pmd_numa_page()
Dmemory.c4697 unsigned long addr, int page_nid, int *flags) in numa_migrate_prep() argument
4702 if (page_nid == numa_node_id()) { in numa_migrate_prep()
4714 int page_nid = NUMA_NO_NODE; in do_numa_page() local
4763 page_nid = page_to_nid(page); in do_numa_page()
4769 !node_is_toptier(page_nid)) in do_numa_page()
4773 target_nid = numa_migrate_prep(page, vma, vmf->address, page_nid, in do_numa_page()
4783 page_nid = target_nid; in do_numa_page()
4797 if (page_nid != NUMA_NO_NODE) in do_numa_page()
4798 task_numa_fault(last_cpupid, page_nid, 1, flags); in do_numa_page()
Dinternal.h829 unsigned long addr, int page_nid, int *flags);