Home
last modified time | relevance | path

Searched refs:prev_cpu (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/arch/sparc/kernel/
Dcpumap.c193 int n, id, cpu, prev_cpu, last_cpu, level; in build_cpuinfo_tree() local
205 prev_cpu = cpu = cpumask_first(cpu_online_mask); in build_cpuinfo_tree()
269 (cpu == last_cpu) ? cpu : prev_cpu; in build_cpuinfo_tree()
291 prev_cpu = cpu; in build_cpuinfo_tree()
/linux-3.4.99/kernel/sched/
Dfair.c2494 int idx, this_cpu, prev_cpu; in wake_affine() local
2502 prev_cpu = task_cpu(p); in wake_affine()
2503 load = source_load(prev_cpu, idx); in wake_affine()
2516 load += effective_load(tg, prev_cpu, 0, -weight); in wake_affine()
2535 this_eff_load *= power_of(prev_cpu); in wake_affine()
2541 prev_eff_load *= load + effective_load(tg, prev_cpu, 0, weight); in wake_affine()
2560 this_load + target_load(prev_cpu, idx) <= tl_per_task)) { in wake_affine()
2657 int prev_cpu = task_cpu(p); in select_idle_sibling() local
2673 if (target == prev_cpu && idle_cpu(prev_cpu)) in select_idle_sibling()
2674 return prev_cpu; in select_idle_sibling()
[all …]