Searched refs:dst_cpu (Results 1 – 3 of 3) sorted by relevance
/kernel/sched/ |
D | fair.c | 1422 int src_nid, int dst_cpu) in should_numa_migrate_memory() argument 1425 int dst_nid = cpu_to_node(dst_cpu); in should_numa_migrate_memory() 1428 this_cpupid = cpu_pid_to_cpupid(dst_cpu, current->pid); in should_numa_migrate_memory() 1542 int dst_cpu, dst_nid; member 1651 struct rq *rq = cpu_rq(env->dst_cpu); in task_numa_assign() 1654 if (env->best_cpu != env->dst_cpu && xchg(&rq->numa_migrate_on, 1)) { in task_numa_assign() 1656 int start = env->dst_cpu; in task_numa_assign() 1665 env->dst_cpu = cpu; in task_numa_assign() 1666 rq = cpu_rq(env->dst_cpu); in task_numa_assign() 1680 if (env->best_cpu != -1 && env->best_cpu != env->dst_cpu) { in task_numa_assign() [all …]
|
D | core.c | 3188 int src_cpu, dst_cpu; member 3197 if (!cpu_active(arg->src_cpu) || !cpu_active(arg->dst_cpu)) in migrate_swap_stop() 3201 dst_rq = cpu_rq(arg->dst_cpu); in migrate_swap_stop() 3207 if (task_cpu(arg->dst_task) != arg->dst_cpu) in migrate_swap_stop() 3213 if (!cpumask_test_cpu(arg->dst_cpu, arg->src_task->cpus_ptr)) in migrate_swap_stop() 3219 __migrate_swap_task(arg->src_task, arg->dst_cpu); in migrate_swap_stop() 3245 .dst_cpu = target_cpu, in migrate_swap() 3248 if (arg.src_cpu == arg.dst_cpu) in migrate_swap() 3255 if (!cpu_active(arg.src_cpu) || !cpu_active(arg.dst_cpu)) in migrate_swap() 3258 if (!cpumask_test_cpu(arg.dst_cpu, arg.src_task->cpus_ptr)) in migrate_swap() [all …]
|
/kernel/events/ |
D | core.c | 12715 void perf_pmu_migrate_context(struct pmu *pmu, int src_cpu, int dst_cpu) in perf_pmu_migrate_context() argument 12723 dst_ctx = &per_cpu_ptr(pmu->pmu_cpu_context, dst_cpu)->ctx; in perf_pmu_migrate_context() 12758 account_event_cpu(event, dst_cpu); in perf_pmu_migrate_context() 12759 perf_install_in_context(dst_ctx, event, dst_cpu); in perf_pmu_migrate_context() 12771 account_event_cpu(event, dst_cpu); in perf_pmu_migrate_context() 12772 perf_install_in_context(dst_ctx, event, dst_cpu); in perf_pmu_migrate_context()
|