Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dmmzone.c99 int last_cpupid; in page_cpupid_xchg_last() local
104 last_cpupid = (flags >> LAST_CPUPID_PGSHIFT) & LAST_CPUPID_MASK; in page_cpupid_xchg_last()
110 return last_cpupid; in page_cpupid_xchg_last()
H A Dhuge_memory.c1489 int target_nid, last_cpupid = (-1 & LAST_CPUPID_MASK); in do_huge_pmd_numa_page() local
1524 last_cpupid = page_cpupid_last(page); in do_huge_pmd_numa_page()
1540 task_numa_fault(last_cpupid, page_nid, HPAGE_PMD_NR, flags); 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 Dmemory.c95 #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid.
4791 int last_cpupid; in do_numa_page() local
4853 last_cpupid = (-1 & LAST_CPUPID_MASK); in do_numa_page()
4855 last_cpupid = page_cpupid_last(page); in do_numa_page()
4869 task_numa_fault(last_cpupid, page_nid, 1, flags); in do_numa_page()
4897 task_numa_fault(last_cpupid, page_nid, 1, flags); in do_numa_page()
/openbmc/linux/lib/
H A Dtest_printf.c607 page_flags_test(int section, int node, int zone, int last_cpupid, in page_flags_test() argument
611 unsigned long values[] = {section, node, zone, last_cpupid, kasan_tag}; in page_flags_test()
/openbmc/linux/kernel/sched/
H A Dfair.c1876 int last_cpupid, this_cpupid; in should_numa_migrate_memory() local
1910 last_cpupid = page_cpupid_xchg_last(page, this_cpupid); in should_numa_migrate_memory()
1913 !node_is_toptier(src_nid) && !cpupid_valid(last_cpupid)) in should_numa_migrate_memory()
1923 (cpupid_pid_unset(last_cpupid) || cpupid_match_pid(p, last_cpupid))) in should_numa_migrate_memory()
1943 if (!cpupid_pid_unset(last_cpupid) && in should_numa_migrate_memory()
1944 cpupid_to_nid(last_cpupid) != dst_nid) in should_numa_migrate_memory()
1948 if (cpupid_match_pid(p, last_cpupid)) in should_numa_migrate_memory()
3122 void task_numa_fault(int last_cpupid, int mem_node, int pages, int flags) in task_numa_fault() argument
3144 !cpupid_valid(last_cpupid))) in task_numa_fault()
3164 if (unlikely(last_cpupid == (-1 & LAST_CPUPID_MASK))) { in task_numa_fault()
[all …]