Searched refs:src_cpu (Results 1 – 3 of 3) sorted by relevance
/kernel/sched/ |
D | fair.c | 1723 int src_cpu, src_nid; member 1954 if (!cpumask_test_cpu(env->src_cpu, cur->cpus_ptr)) in task_numa_compare() 2167 .src_cpu = task_cpu(p), in task_numa_migrate() 2192 sd = rcu_dereference(per_cpu(sd_numa, env.src_cpu)); in task_numa_migrate() 2275 trace_sched_stick_numa(p, env.src_cpu, NULL, -1); in task_numa_migrate() 2284 trace_sched_stick_numa(p, env.src_cpu, NULL, env.best_cpu); in task_numa_migrate() 2288 ret = migrate_swap(p, env.best_task, env.best_cpu, env.src_cpu); in task_numa_migrate() 2292 trace_sched_stick_numa(p, env.src_cpu, env.best_task, env.best_cpu); in task_numa_migrate() 5318 int src_cpu, int dest_cpu) in throttled_lb_pair() argument 5322 src_cfs_rq = tg->cfs_rq[src_cpu]; in throttled_lb_pair() [all …]
|
D | core.c | 3430 int src_cpu, dst_cpu; member 3439 if (!cpu_active(arg->src_cpu) || !cpu_active(arg->dst_cpu)) in migrate_swap_stop() 3442 src_rq = cpu_rq(arg->src_cpu); in migrate_swap_stop() 3452 if (task_cpu(arg->src_task) != arg->src_cpu) in migrate_swap_stop() 3458 if (!cpumask_test_cpu(arg->src_cpu, arg->dst_task->cpus_ptr)) in migrate_swap_stop() 3462 __migrate_swap_task(arg->dst_task, arg->src_cpu); in migrate_swap_stop() 3485 .src_cpu = curr_cpu, in migrate_swap() 3490 if (arg.src_cpu == arg.dst_cpu) in migrate_swap() 3497 if (!cpu_active(arg.src_cpu) || !cpu_active(arg.dst_cpu)) in migrate_swap() 3503 if (!cpumask_test_cpu(arg.src_cpu, arg.dst_task->cpus_ptr)) in migrate_swap() [all …]
|
/kernel/events/ |
D | core.c | 12817 void perf_pmu_migrate_context(struct pmu *pmu, int src_cpu, int dst_cpu) in perf_pmu_migrate_context() argument 12824 src_ctx = &per_cpu_ptr(pmu->pmu_cpu_context, src_cpu)->ctx; in perf_pmu_migrate_context() 12835 unaccount_event_cpu(event, src_cpu); in perf_pmu_migrate_context()
|