Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/kernel/
Dsmpboot.c1834 static u64 arch_turbo_freq_ratio = SCHED_CAPACITY_SCALE;
1835 static u64 arch_max_freq_ratio = SCHED_CAPACITY_SCALE;
1839 arch_max_freq_ratio = turbo_disabled ? SCHED_CAPACITY_SCALE : in arch_set_max_freq_ratio()
2026 turbo_ratio = div_u64(turbo_freq * SCHED_CAPACITY_SCALE, base_freq); in intel_set_max_freq_ratio()
2060 perf_ratio = div_u64(highest_perf * SCHED_CAPACITY_SCALE, nominal_perf); in amd_set_max_freq_ratio()
2062 perf_ratio = (perf_ratio + SCHED_CAPACITY_SCALE) >> 1; in amd_set_max_freq_ratio()
2165 DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE;
2169 u64 freq_scale = SCHED_CAPACITY_SCALE; in arch_scale_freq_tick()
2195 if (freq_scale > SCHED_CAPACITY_SCALE) in arch_scale_freq_tick()
2196 freq_scale = SCHED_CAPACITY_SCALE; in arch_scale_freq_tick()
/Linux-v5.15/include/linux/sched/
Dtopology.h250 return SCHED_CAPACITY_SCALE; in arch_scale_cpu_capacity()
/Linux-v5.15/kernel/sched/
Dtopology.c102 if (group->sgc->capacity != SCHED_CAPACITY_SCALE) in sched_domain_debug_one()
951 sg->sgc->capacity = SCHED_CAPACITY_SCALE * cpumask_weight(sg_span); in init_overlap_sched_group()
952 sg->sgc->min_capacity = SCHED_CAPACITY_SCALE; in init_overlap_sched_group()
953 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in init_overlap_sched_group()
1177 sg->sgc->capacity = SCHED_CAPACITY_SCALE * cpumask_weight(sched_group_span(sg)); in get_group()
1178 sg->sgc->min_capacity = SCHED_CAPACITY_SCALE; in get_group()
1179 sg->sgc->max_capacity = SCHED_CAPACITY_SCALE; in get_group()
Dcpufreq_schedutil.c16 #define IOWAIT_BOOST_MIN (SCHED_CAPACITY_SCALE / 8)
237 min_t(unsigned int, sg_cpu->iowait_boost << 1, SCHED_CAPACITY_SCALE); in sugov_iowait_boost()
Dsched.h881 unsigned long value : bits_per(SCHED_CAPACITY_SCALE);
882 unsigned long tasks : BITS_PER_LONG - bits_per(SCHED_CAPACITY_SCALE);
2487 return SCHED_CAPACITY_SCALE; in arch_scale_freq_capacity()
2943 return (rq->dl.running_bw * SCHED_CAPACITY_SCALE) >> BW_SHIFT; in cpu_bw_dl()
Dcore.c1242 unsigned int sysctl_sched_uclamp_util_min = SCHED_CAPACITY_SCALE;
1245 unsigned int sysctl_sched_uclamp_util_max = SCHED_CAPACITY_SCALE;
1262 unsigned int sysctl_sched_uclamp_util_min_rt_default = SCHED_CAPACITY_SCALE;
1288 #define UCLAMP_BUCKET_DELTA DIV_ROUND_CLOSEST(SCHED_CAPACITY_SCALE, UCLAMP_BUCKETS)
1302 return SCHED_CAPACITY_SCALE; in uclamp_none()
1734 sysctl_sched_uclamp_util_max > SCHED_CAPACITY_SCALE || in sysctl_sched_uclamp_handler()
1735 sysctl_sched_uclamp_util_min_rt_default > SCHED_CAPACITY_SCALE) { in sysctl_sched_uclamp_handler()
1789 if (util_min + 1 > SCHED_CAPACITY_SCALE + 1) in uclamp_validate()
1796 if (util_max + 1 > SCHED_CAPACITY_SCALE + 1) in uclamp_validate()
9400 rq->cpu_capacity = rq->cpu_capacity_orig = SCHED_CAPACITY_SCALE; in sched_init()
[all …]
Dfair.c4012 #define UTIL_EST_MARGIN (SCHED_CAPACITY_SCALE / 100)
8679 sgs->avg_load = (sgs->group_load * SCHED_CAPACITY_SCALE) / in update_sg_lb_stats()
8936 sgs->avg_load = (sgs->group_load * SCHED_CAPACITY_SCALE) / in update_sg_wakeup_stats()
9359 local->avg_load = (local->group_load * SCHED_CAPACITY_SCALE) / in calculate_imbalance()
9362 sds->avg_load = (sds->total_load * SCHED_CAPACITY_SCALE) / in calculate_imbalance()
9386 ) / SCHED_CAPACITY_SCALE; in calculate_imbalance()
9485 sds.avg_load = (sds.total_load * SCHED_CAPACITY_SCALE) / in find_busiest_group()
11812 SCHED_CAPACITY_SCALE in sched_trace_rq_cpu_capacity()
Ddeadline.c116 capacity_orig_of(i) == SCHED_CAPACITY_SCALE) { in dl_bw_capacity()
146 return SCHED_CAPACITY_SCALE; in dl_bw_capacity()
/Linux-v5.15/drivers/base/
Darch_topology.c125 DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE;
151 DEFINE_PER_CPU(unsigned long, cpu_scale) = SCHED_CAPACITY_SCALE;
/Linux-v5.15/arch/arm64/kernel/
Dtopology.c232 scale = min_t(unsigned long, scale, SCHED_CAPACITY_SCALE); in amu_scale_freq_tick()
/Linux-v5.15/include/linux/
Dsched.h391 # define SCHED_CAPACITY_SCALE (1L << SCHED_CAPACITY_SHIFT) macro
688 unsigned int value : bits_per(SCHED_CAPACITY_SCALE);
/Linux-v5.15/init/
DKconfig842 will be SCHED_CAPACITY_SCALE/UCLAMP_BUCKETS_COUNT. The higher the