Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dmmzone.c103 int last_cpupid; in page_cpupid_xchg_last() local
107 last_cpupid = page_cpupid_last(page); in page_cpupid_xchg_last()
113 return last_cpupid; in page_cpupid_xchg_last()
Dhuge_memory.c1418 int target_nid, last_cpupid = -1; in do_huge_pmd_numa_page() local
1445 last_cpupid = page_cpupid_last(page); in do_huge_pmd_numa_page()
1561 task_numa_fault(last_cpupid, page_nid, HPAGE_PMD_NR, in do_huge_pmd_numa_page()
Dmemory.c91 #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
4267 int last_cpupid; in do_numa_page() local
4328 last_cpupid = page_cpupid_last(page); in do_numa_page()
4348 task_numa_fault(last_cpupid, page_nid, 1, flags); in do_numa_page()
/kernel/linux/linux-5.10/kernel/sched/
Dfair.c1460 int last_cpupid, this_cpupid; in should_numa_migrate_memory() local
1463 last_cpupid = page_cpupid_xchg_last(page, this_cpupid); in should_numa_migrate_memory()
1472 (cpupid_pid_unset(last_cpupid) || cpupid_match_pid(p, last_cpupid))) in should_numa_migrate_memory()
1492 if (!cpupid_pid_unset(last_cpupid) && in should_numa_migrate_memory()
1493 cpupid_to_nid(last_cpupid) != dst_nid) in should_numa_migrate_memory()
1497 if (cpupid_match_pid(p, last_cpupid)) in should_numa_migrate_memory()
2663 void task_numa_fault(int last_cpupid, int mem_node, int pages, int flags) in task_numa_fault() argument
2696 if (unlikely(last_cpupid == (-1 & LAST_CPUPID_MASK))) { in task_numa_fault()
2699 priv = cpupid_match_pid(p, last_cpupid); in task_numa_fault()
2701 task_numa_group(p, last_cpupid, flags, &priv); in task_numa_fault()