/linux-6.6.21/arch/x86/include/asm/trace/ |
D | irq_vectors.h | 156 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.6.21/Documentation/translations/zh_CN/scheduler/ |
D | sched-energy.rst | 118 依然放在之前活动的prev_cpu是否可以节省能量。 132 prev_cpu = 0(上一次运行在CPU0)。 197 **情况3. P依旧留在prev_cpu/CPU0**::
|
/linux-6.6.21/arch/sparc/kernel/ |
D | cpumap.c | 193 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.6.21/arch/x86/kernel/apic/ |
D | vector.c | 31 unsigned int prev_cpu; member 174 apicd->prev_cpu = apicd->cpu; in apic_update_vector() 357 apicd->prev_cpu); in clear_irq_vector() 368 per_cpu(vector_irq, apicd->prev_cpu)[vector] = VECTOR_SHUTDOWN; in clear_irq_vector() 369 irq_matrix_free(vector_matrix, apicd->prev_cpu, vector, managed); in clear_irq_vector() 648 seq_printf(m, "%*sPrevious target: %5u\n", ind, "", apicd.prev_cpu); in x86_vector_debug_show() 938 unsigned int cpu = apicd->prev_cpu; in free_moved_vector() 1011 unsigned int cpu = apicd->prev_cpu; in __vector_schedule_cleanup()
|
/linux-6.6.21/arch/powerpc/lib/ |
D | qspinlock.c | 386 int prev_cpu = decode_tail_cpu(val); in yield_to_prev() local 432 yield_count = yield_count_of(prev_cpu); in yield_to_prev() 444 yield_to_preempted(prev_cpu, yield_count); in yield_to_prev()
|
/linux-6.6.21/kernel/sched/ |
D | fair.c | 1048 static int select_idle_sibling(struct task_struct *p, int prev_cpu, int cpu); 6906 wake_affine_idle(int this_cpu, int prev_cpu, int sync) in wake_affine_idle() argument 6920 if (available_idle_cpu(this_cpu) && cpus_share_cache(this_cpu, prev_cpu)) in wake_affine_idle() 6921 return available_idle_cpu(prev_cpu) ? prev_cpu : this_cpu; in wake_affine_idle() 6926 if (available_idle_cpu(prev_cpu)) in wake_affine_idle() 6927 return prev_cpu; in wake_affine_idle() 6934 int this_cpu, int prev_cpu, int sync) in wake_affine_weight() argument 6955 this_eff_load *= capacity_of(prev_cpu); in wake_affine_weight() 6957 prev_eff_load = cpu_load(cpu_rq(prev_cpu)); in wake_affine_weight() 6976 int this_cpu, int prev_cpu, int sync) in wake_affine() argument [all …]
|
/linux-6.6.21/arch/powerpc/kvm/ |
D | book3s_hv.c | 3023 vcpu->arch.prev_cpu = -1; in kvmppc_core_vcpu_create_hv() 3230 int prev_cpu; in kvmppc_prepare_radix_vcpu() local 3236 prev_cpu = nested->prev_cpu[vcpu->arch.nested_vcpu_id]; in kvmppc_prepare_radix_vcpu() 3238 prev_cpu = vcpu->arch.prev_cpu; in kvmppc_prepare_radix_vcpu() 3251 if (prev_cpu != pcpu) { in kvmppc_prepare_radix_vcpu() 3252 if (prev_cpu >= 0) { in kvmppc_prepare_radix_vcpu() 3253 if (cpu_first_tlb_thread_sibling(prev_cpu) != in kvmppc_prepare_radix_vcpu() 3255 radix_flush_cpu(kvm, prev_cpu, vcpu); in kvmppc_prepare_radix_vcpu() 3257 smp_call_function_single(prev_cpu, in kvmppc_prepare_radix_vcpu() 3261 nested->prev_cpu[vcpu->arch.nested_vcpu_id] = pcpu; in kvmppc_prepare_radix_vcpu() [all …]
|
D | book3s_hv_nested.c | 706 memset(gp->prev_cpu, -1, sizeof(gp->prev_cpu)); in kvmhv_alloc_nested()
|
/linux-6.6.21/Documentation/scheduler/ |
D | sched-energy.rst | 138 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.6.21/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 34 short prev_cpu[NR_CPUS]; member
|
D | kvm_host.h | 771 int prev_cpu; member
|
/linux-6.6.21/drivers/irqchip/ |
D | irq-gic-v3-its.c | 1679 int cpu, prev_cpu; in its_set_affinity() local 1685 prev_cpu = its_dev->event_map.col_map[id]; in its_set_affinity() 1686 its_dec_lpi_count(d, prev_cpu); in its_set_affinity() 1697 if (cpu != prev_cpu) { in its_set_affinity() 1709 its_inc_lpi_count(d, prev_cpu); in its_set_affinity()
|