Home
last modified time | relevance | path

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

/Linux-v5.10/Documentation/scheduler/
Dsched-capacity.rst345 Furthermore, uclamp lets userspace specify a minimum and a maximum utilization
354 above. On top of that, uclamp is used to clamp the task utilization values,
360 By using uclamp, userspace can e.g. allow a busy loop (100% utilization) to run
361 on any CPU by giving it a low uclamp.max value. Conversely, it can force a small
363 giving it a high uclamp.min value.
/Linux-v5.10/kernel/sched/
Dcore.c983 WRITE_ONCE(rq->uclamp[clamp_id].value, clamp_value); in uclamp_idle_reset()
990 struct uclamp_bucket *bucket = rq->uclamp[clamp_id].bucket; in uclamp_rq_max_value()
1081 uc_max = task_group(p)->uclamp[clamp_id]; in uclamp_tg_restrict()
1115 if (p->uclamp[clamp_id].active) in uclamp_eff_value()
1116 return (unsigned long)p->uclamp[clamp_id].value; in uclamp_eff_value()
1136 struct uclamp_rq *uc_rq = &rq->uclamp[clamp_id]; in uclamp_rq_inc_id()
1137 struct uclamp_se *uc_se = &p->uclamp[clamp_id]; in uclamp_rq_inc_id()
1143 p->uclamp[clamp_id] = uclamp_eff_get(p, clamp_id); in uclamp_rq_inc_id()
1174 struct uclamp_rq *uc_rq = &rq->uclamp[clamp_id]; in uclamp_rq_dec_id()
1175 struct uclamp_se *uc_se = &p->uclamp[clamp_id]; in uclamp_rq_dec_id()
[all …]
Dsched.h430 struct uclamp_se uclamp[UCLAMP_CNT]; member
926 struct uclamp_rq uclamp[UCLAMP_CNT] ____cacheline_aligned; member
2429 min_util = READ_ONCE(rq->uclamp[UCLAMP_MIN].value); in uclamp_rq_util_with()
2430 max_util = READ_ONCE(rq->uclamp[UCLAMP_MAX].value); in uclamp_rq_util_with()
/Linux-v5.10/Documentation/admin-guide/sysctl/
Dkernel.rst1105 It means that any requested uclamp.min value cannot be greater than
1116 It means that any requested uclamp.max value cannot be greater than
1127 Uclamp achieves this by setting the requested uclamp.min of all RT tasks to
1131 This knob allows admins to change the default behavior when uclamp is being
1137 requested uclamp.min value via sched_setattr() syscall.
/Linux-v5.10/include/linux/
Dsched.h709 struct uclamp_se uclamp[UCLAMP_CNT]; member
/Linux-v5.10/Documentation/admin-guide/
Dcgroup-v2.rst1037 cpu.uclamp.min
1050 `cpu.uclamp.max`.
1052 cpu.uclamp.max