Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/include/asm/trace/
Dirq_vectors.h156 unsigned int prev_cpu),
158 TP_ARGS(irq, vector, cpu, prev_vector, prev_cpu),
165 __field( unsigned int, prev_cpu )
173 __entry->prev_cpu = prev_cpu;
179 __entry->prev_vector, __entry->prev_cpu)
186 unsigned int prev_cpu), \
187 TP_ARGS(irq, vector, cpu, prev_vector, prev_cpu), NULL, NULL); \
/linux-6.1.9/Documentation/translations/zh_CN/scheduler/
Dsched-energy.rst118 依然放在之前活动的prev_cpu是否可以节省能量。
132 prev_cpu = 0(上一次运行在CPU0)。
197 **情况3. P依旧留在prev_cpu/CPU0**::
/linux-6.1.9/arch/sparc/kernel/
Dcpumap.c193 int n, id, cpu, prev_cpu, last_cpu, level; in build_cpuinfo_tree() local
204 prev_cpu = cpu = cpumask_first(cpu_online_mask); in build_cpuinfo_tree()
268 (cpu == last_cpu) ? cpu : prev_cpu; in build_cpuinfo_tree()
290 prev_cpu = cpu; in build_cpuinfo_tree()
/linux-6.1.9/arch/x86/kernel/apic/
Dvector.c31 unsigned int prev_cpu; member
163 apicd->prev_cpu = apicd->cpu; in apic_update_vector()
346 apicd->prev_cpu); in clear_irq_vector()
357 per_cpu(vector_irq, apicd->prev_cpu)[vector] = VECTOR_SHUTDOWN; in clear_irq_vector()
358 irq_matrix_free(vector_matrix, apicd->prev_cpu, vector, managed); in clear_irq_vector()
641 seq_printf(m, "%*sPrevious target: %5u\n", ind, "", apicd.prev_cpu); in x86_vector_debug_show()
920 unsigned int cpu = apicd->prev_cpu; in free_moved_vector()
980 cpu = apicd->prev_cpu; in __send_cleanup_vector()
/linux-6.1.9/kernel/sched/
Dfair.c780 static int select_idle_sibling(struct task_struct *p, int prev_cpu, int cpu);
6346 wake_affine_idle(int this_cpu, int prev_cpu, int sync) in wake_affine_idle() argument
6360 if (available_idle_cpu(this_cpu) && cpus_share_cache(this_cpu, prev_cpu)) in wake_affine_idle()
6361 return available_idle_cpu(prev_cpu) ? prev_cpu : this_cpu; in wake_affine_idle()
6366 if (available_idle_cpu(prev_cpu)) in wake_affine_idle()
6367 return prev_cpu; in wake_affine_idle()
6374 int this_cpu, int prev_cpu, int sync) in wake_affine_weight() argument
6395 this_eff_load *= capacity_of(prev_cpu); in wake_affine_weight()
6397 prev_eff_load = cpu_load(cpu_rq(prev_cpu)); in wake_affine_weight()
6416 int this_cpu, int prev_cpu, int sync) in wake_affine() argument
[all …]
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv.c2995 vcpu->arch.prev_cpu = -1; in kvmppc_core_vcpu_create_hv()
3202 int prev_cpu; in kvmppc_prepare_radix_vcpu() local
3208 prev_cpu = nested->prev_cpu[vcpu->arch.nested_vcpu_id]; in kvmppc_prepare_radix_vcpu()
3210 prev_cpu = vcpu->arch.prev_cpu; in kvmppc_prepare_radix_vcpu()
3223 if (prev_cpu != pcpu) { in kvmppc_prepare_radix_vcpu()
3224 if (prev_cpu >= 0) { in kvmppc_prepare_radix_vcpu()
3225 if (cpu_first_tlb_thread_sibling(prev_cpu) != in kvmppc_prepare_radix_vcpu()
3227 radix_flush_cpu(kvm, prev_cpu, vcpu); in kvmppc_prepare_radix_vcpu()
3229 smp_call_function_single(prev_cpu, in kvmppc_prepare_radix_vcpu()
3233 nested->prev_cpu[vcpu->arch.nested_vcpu_id] = pcpu; in kvmppc_prepare_radix_vcpu()
[all …]
Dbook3s_hv_nested.c706 memset(gp->prev_cpu, -1, sizeof(gp->prev_cpu)); in kvmhv_alloc_nested()
/linux-6.1.9/Documentation/scheduler/
Dsched-energy.rst138 save energy compared to leaving it on prev_cpu, i.e. the CPU where the task ran
156 and prev_cpu = 0.
228 **Case 3. P stays on prev_cpu / CPU 0**::
/linux-6.1.9/arch/powerpc/include/asm/
Dkvm_book3s_64.h34 short prev_cpu[NR_CPUS]; member
Dkvm_host.h771 int prev_cpu; member
/linux-6.1.9/drivers/irqchip/
Dirq-gic-v3-its.c1651 int cpu, prev_cpu; in its_set_affinity() local
1657 prev_cpu = its_dev->event_map.col_map[id]; in its_set_affinity()
1658 its_dec_lpi_count(d, prev_cpu); in its_set_affinity()
1669 if (cpu != prev_cpu) { in its_set_affinity()
1681 its_inc_lpi_count(d, prev_cpu); in its_set_affinity()