Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/platforms/pseries/
Dlpar.c149 int last_disp_cpu; member
254 static int cpu_relative_dispatch_distance(int last_disp_cpu, int cur_disp_cpu) in cpu_relative_dispatch_distance() argument
258 if (last_disp_cpu >= NR_CPUS_H || cur_disp_cpu >= NR_CPUS_H) in cpu_relative_dispatch_distance()
261 last_disp_cpu_assoc = get_pcpu_associativity(last_disp_cpu); in cpu_relative_dispatch_distance()
296 if (disp->last_disp_cpu == -1) { in update_vcpu_disp_stat()
297 disp->last_disp_cpu = disp_cpu; in update_vcpu_disp_stat()
303 if (disp->last_disp_cpu == disp_cpu || in update_vcpu_disp_stat()
304 (cpu_first_thread_sibling(disp->last_disp_cpu) == in update_vcpu_disp_stat()
308 distance = cpu_relative_dispatch_distance(disp->last_disp_cpu, in update_vcpu_disp_stat()
327 disp->last_disp_cpu, in update_vcpu_disp_stat()
[all …]