Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kernel/cpu/
Daperfmperf.c87 static u64 arch_turbo_freq_ratio = SCHED_CAPACITY_SCALE;
88 static u64 arch_max_freq_ratio = SCHED_CAPACITY_SCALE;
92 arch_max_freq_ratio = turbo_disabled ? SCHED_CAPACITY_SCALE : in arch_set_max_freq_ratio()
279 turbo_ratio = div_u64(turbo_freq * SCHED_CAPACITY_SCALE, base_freq); in intel_set_max_freq_ratio()
342 per_cpu(arch_freq_scale, cpu) = SCHED_CAPACITY_SCALE; in disable_freq_invariance_workfn()
348 DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE;
367 if (freq_scale > SCHED_CAPACITY_SCALE) in scale_freq_tick()
368 freq_scale = SCHED_CAPACITY_SCALE; in scale_freq_tick()
/linux-6.6.21/arch/x86/kernel/acpi/
Dcppc.c90 perf_ratio = div_u64(highest_perf * SCHED_CAPACITY_SCALE, nominal_perf); in amd_set_max_freq_ratio()
92 perf_ratio = (perf_ratio + SCHED_CAPACITY_SCALE) >> 1; in amd_set_max_freq_ratio()
/linux-6.6.21/include/linux/sched/
Dtopology.h259 return SCHED_CAPACITY_SCALE; in arch_scale_cpu_capacity()
/linux-6.6.21/kernel/sched/
Dtopology.c103 if (group->sgc->capacity != SCHED_CAPACITY_SCALE) in sched_domain_debug_one()
987 sg->sgc->capacity = SCHED_CAPACITY_SCALE * cpumask_weight(sg_span); in init_overlap_sched_group()
988 sg->sgc->min_capacity = SCHED_CAPACITY_SCALE; in init_overlap_sched_group()
989 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in init_overlap_sched_group()
1214 sg->sgc->capacity = SCHED_CAPACITY_SCALE * cpumask_weight(sched_group_span(sg)); in get_group()
1215 sg->sgc->min_capacity = SCHED_CAPACITY_SCALE; in get_group()
1216 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in get_group()
Dsched.h915 unsigned long value : bits_per(SCHED_CAPACITY_SCALE);
916 unsigned long tasks : BITS_PER_LONG - bits_per(SCHED_CAPACITY_SCALE);
2612 return SCHED_CAPACITY_SCALE; in arch_scale_freq_capacity()
3021 return (rq->dl.running_bw * SCHED_CAPACITY_SCALE) >> BW_SHIFT; in cpu_bw_dl()
3124 return max_util != SCHED_CAPACITY_SCALE && rq_util >= max_util; in uclamp_rq_is_capped()
3146 return SCHED_CAPACITY_SCALE; in uclamp_eff_value()
3169 return SCHED_CAPACITY_SCALE; in uclamp_rq_get()
Dcpufreq_schedutil.c9 #define IOWAIT_BOOST_MIN (SCHED_CAPACITY_SCALE / 8)
228 min_t(unsigned int, sg_cpu->iowait_boost << 1, SCHED_CAPACITY_SCALE); in sugov_iowait_boost()
Dcore.c1345 static unsigned int __maybe_unused sysctl_sched_uclamp_util_min = SCHED_CAPACITY_SCALE;
1348 static unsigned int __maybe_unused sysctl_sched_uclamp_util_max = SCHED_CAPACITY_SCALE;
1365 static unsigned int sysctl_sched_uclamp_util_min_rt_default = SCHED_CAPACITY_SCALE;
1391 #define UCLAMP_BUCKET_DELTA DIV_ROUND_CLOSEST(SCHED_CAPACITY_SCALE, UCLAMP_BUCKETS)
1405 return SCHED_CAPACITY_SCALE; in uclamp_none()
1843 sysctl_sched_uclamp_util_max > SCHED_CAPACITY_SCALE || in sysctl_sched_uclamp_handler()
1844 sysctl_sched_uclamp_util_min_rt_default > SCHED_CAPACITY_SCALE) { in sysctl_sched_uclamp_handler()
1896 if (util_min + 1 > SCHED_CAPACITY_SCALE + 1) in uclamp_validate()
1903 if (util_max + 1 > SCHED_CAPACITY_SCALE + 1) in uclamp_validate()
10019 rq->cpu_capacity = rq->cpu_capacity_orig = SCHED_CAPACITY_SCALE; in sched_init()
[all …]
Dfair.c4766 #define UTIL_EST_MARGIN (SCHED_CAPACITY_SCALE / 100)
4944 uclamp_max_fits = (capacity_orig == SCHED_CAPACITY_SCALE) && (uclamp_max == SCHED_CAPACITY_SCALE); in util_fits_cpu()
9834 sgs->avg_load = (sgs->group_load * SCHED_CAPACITY_SCALE) / in update_sg_lb_stats()
10131 sgs->avg_load = (sgs->group_load * SCHED_CAPACITY_SCALE) / in update_sg_wakeup_stats()
10419 do_div(tmp, 10000 * SCHED_CAPACITY_SCALE); in update_idle_cpu_scan()
10420 tmp = min_t(long, tmp, SCHED_CAPACITY_SCALE); in update_idle_cpu_scan()
10421 y = SCHED_CAPACITY_SCALE - tmp; in update_idle_cpu_scan()
10425 do_div(y, SCHED_CAPACITY_SCALE); in update_idle_cpu_scan()
10644 local->avg_load = (local->group_load * SCHED_CAPACITY_SCALE) / in calculate_imbalance()
10656 sds->avg_load = (sds->total_load * SCHED_CAPACITY_SCALE) / in calculate_imbalance()
[all …]
Ddeadline.c147 capacity_orig_of(i) == SCHED_CAPACITY_SCALE) { in dl_bw_capacity()
195 return SCHED_CAPACITY_SCALE; in dl_bw_capacity()
/linux-6.6.21/arch/arm64/kernel/
Dtopology.c180 scale = min_t(unsigned long, scale, SCHED_CAPACITY_SCALE); in amu_scale_freq_tick()
/linux-6.6.21/drivers/base/
Darch_topology.c127 DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE;
153 DEFINE_PER_CPU(unsigned long, cpu_scale) = SCHED_CAPACITY_SCALE;
/linux-6.6.21/include/linux/
Dsched.h406 # define SCHED_CAPACITY_SCALE (1L << SCHED_CAPACITY_SHIFT) macro
708 unsigned int value : bits_per(SCHED_CAPACITY_SCALE);
/linux-6.6.21/drivers/cpufreq/
Dcppc_cpufreq.c480 #define CPPC_EM_COST_GAP (4 * SCHED_CAPACITY_SCALE * CPPC_EM_COST_STEP \
/linux-6.6.21/init/
DKconfig828 will be SCHED_CAPACITY_SCALE/UCLAMP_BUCKETS_COUNT. The higher the