Lines Matching refs:dst_nid
1843 int dst_nid = cpu_to_node(dst_cpu); in should_numa_migrate_memory() local
1856 pgdat = NODE_DATA(dst_nid); in should_numa_migrate_memory()
1912 cpupid_to_nid(last_cpupid) != dst_nid) in should_numa_migrate_memory()
1927 if (group_faults_cpu(ng, dst_nid) > group_faults_cpu(ng, src_nid) * in should_numa_migrate_memory()
1939 return group_faults_cpu(ng, dst_nid) * group_faults(p, src_nid) * 3 > in should_numa_migrate_memory()
1940 group_faults_cpu(ng, src_nid) * group_faults(p, dst_nid) * 4; in should_numa_migrate_memory()
1978 int dst_cpu, dst_nid; member
2093 for_each_cpu_wrap(cpu, cpumask_of_node(env->dst_nid), start + 1) { in task_numa_assign()
2243 task_weight(cur, env->dst_nid, dist); in task_numa_compare()
2257 group_weight(cur, env->dst_nid, dist); in task_numa_compare()
2260 task_weight(cur, env->dst_nid, dist); in task_numa_compare()
2264 if (cur->numa_preferred_nid == env->dst_nid) in task_numa_compare()
2405 for_each_cpu(cpu, cpumask_of_node(env->dst_nid)) { in task_numa_find_cpu()
2464 env.dst_nid = p->numa_preferred_nid; in task_numa_migrate()
2465 dist = env.dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate()
2469 taskimp = task_weight(p, env.dst_nid, dist) - taskweight; in task_numa_migrate()
2470 groupimp = group_weight(p, env.dst_nid, dist) - groupweight; in task_numa_migrate()
2471 update_numa_stats(&env, &env.dst_stats, env.dst_nid, true); in task_numa_migrate()
2489 dist = node_distance(env.src_nid, env.dst_nid); in task_numa_migrate()
2503 env.dst_nid = nid; in task_numa_migrate()
2504 update_numa_stats(&env, &env.dst_stats, env.dst_nid, true); in task_numa_migrate()
3475 int dst_nid = cpu_to_node(new_cpu); in update_scan_period() local
3483 if (src_nid == dst_nid) in update_scan_period()
3497 if (dst_nid == p->numa_preferred_nid || in update_scan_period()
8640 int src_nid, dst_nid, dist; in migrate_degrades_locality() local
8649 dst_nid = cpu_to_node(env->dst_cpu); in migrate_degrades_locality()
8651 if (src_nid == dst_nid) in migrate_degrades_locality()
8663 if (dst_nid == p->numa_preferred_nid) in migrate_degrades_locality()
8670 dist = node_distance(src_nid, dst_nid); in migrate_degrades_locality()
8673 dst_weight = group_weight(p, dst_nid, dist); in migrate_degrades_locality()
8676 dst_weight = task_weight(p, dst_nid, dist); in migrate_degrades_locality()