Home
last modified time | relevance | path

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

/Linux-v5.15/Documentation/scheduler/
Dsched-capacity.rst347 Furthermore, uclamp lets userspace specify a minimum and a maximum utilization
356 above. On top of that, uclamp is used to clamp the task utilization values,
362 By using uclamp, userspace can e.g. allow a busy loop (100% utilization) to run
363 on any CPU by giving it a low uclamp.max value. Conversely, it can force a small
365 giving it a high uclamp.min value.
/Linux-v5.15/kernel/sched/
Dcore.c1337 WRITE_ONCE(rq->uclamp[clamp_id].value, clamp_value); in uclamp_idle_reset()
1344 struct uclamp_bucket *bucket = rq->uclamp[clamp_id].bucket; in uclamp_rq_max_value()
1436 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict()
1437 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict()
1472 if (p->uclamp[clamp_id].active) in uclamp_eff_value()
1473 return (unsigned long)p->uclamp[clamp_id].value; in uclamp_eff_value()
1493 struct uclamp_rq *uc_rq = &rq->uclamp[clamp_id]; in uclamp_rq_inc_id()
1494 struct uclamp_se *uc_se = &p->uclamp[clamp_id]; in uclamp_rq_inc_id()
1500 p->uclamp[clamp_id] = uclamp_eff_get(p, clamp_id); in uclamp_rq_inc_id()
1531 struct uclamp_rq *uc_rq = &rq->uclamp[clamp_id]; in uclamp_rq_dec_id()
[all …]
Dsched.h438 struct uclamp_se uclamp[UCLAMP_CNT]; member
953 struct uclamp_rq uclamp[UCLAMP_CNT] ____cacheline_aligned; member
2868 min_util = max_t(unsigned long, min_util, READ_ONCE(rq->uclamp[UCLAMP_MIN].value)); in uclamp_rq_util_with()
2869 max_util = max_t(unsigned long, max_util, READ_ONCE(rq->uclamp[UCLAMP_MAX].value)); in uclamp_rq_util_with()
/Linux-v5.15/Documentation/admin-guide/sysctl/
Dkernel.rst1120 It means that any requested uclamp.min value cannot be greater than
1131 It means that any requested uclamp.max value cannot be greater than
1142 Uclamp achieves this by setting the requested uclamp.min of all RT tasks to
1146 This knob allows admins to change the default behavior when uclamp is being
1152 requested uclamp.min value via sched_setattr() syscall.
/Linux-v5.15/include/linux/
Dsched.h803 struct uclamp_se uclamp[UCLAMP_CNT]; member
/Linux-v5.15/Documentation/admin-guide/
Dcgroup-v2.rst1056 cpu.uclamp.min
1069 `cpu.uclamp.max`.
1071 cpu.uclamp.max