Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/Documentation/scheduler/
H A 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.
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dcore.c1021 WRITE_ONCE(rq->uclamp[clamp_id].value, clamp_value); in uclamp_idle_reset()
1028 struct uclamp_bucket *bucket = rq->uclamp[clamp_id].bucket; in uclamp_rq_max_value()
1128 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict()
1129 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict()
1170 if (p->uclamp[clamp_id].active) in uclamp_eff_value()
1171 return (unsigned long)p->uclamp[clamp_id].value; in uclamp_eff_value()
1192 struct uclamp_rq *uc_rq = &rq->uclamp[clamp_id]; in uclamp_rq_inc_id()
1193 struct uclamp_se *uc_se = &p->uclamp[clamp_id]; in uclamp_rq_inc_id()
1199 p->uclamp[clamp_id] = uclamp_eff_get(p, clamp_id); in uclamp_rq_inc_id()
1230 struct uclamp_rq *uc_rq = &rq->uclamp[clamp_id]; in uclamp_rq_dec_id()
[all …]
H A Dsched.h435 struct uclamp_se uclamp[UCLAMP_CNT]; member
949 struct uclamp_rq uclamp[UCLAMP_CNT] ____cacheline_aligned; member
2501 min_util = max_t(unsigned long, min_util, READ_ONCE(rq->uclamp[UCLAMP_MIN].value)); in uclamp_rq_util_with()
2502 max_util = max_t(unsigned long, max_util, READ_ONCE(rq->uclamp[UCLAMP_MAX].value)); in uclamp_rq_util_with()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/sysctl/
H A Dkernel.rst1100 It means that any requested uclamp.min value cannot be greater than
1111 It means that any requested uclamp.max value cannot be greater than
1122 Uclamp achieves this by setting the requested uclamp.min of all RT tasks to
1126 This knob allows admins to change the default behavior when uclamp is being
1132 requested uclamp.min value via sched_setattr() syscall.
/OK3568_Linux_fs/kernel/include/linux/
H A Dsched.h725 struct uclamp_se uclamp[UCLAMP_CNT]; member
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Dcgroup-v2.rst1038 cpu.uclamp.min
1051 `cpu.uclamp.max`.
1053 cpu.uclamp.max