Lines Matching refs:clamp

1355  * Serializes updates of utilization clamp values
1357 * The (slow-path) user-space triggers utilization clamp value updates which
1444 * idle (which drops the max-clamp) by retaining the last known
1445 * max-clamp.
1458 /* Reset max-clamp retention only on idle exit */
1482 /* No tasks -- default clamp values */
1533 value = clamp(value, tg_min, tg_max);
1541 * The effective clamp bucket index of a task depends on, by increasing
1543 * - the task specific clamp value, when explicitly requested from userspace
1544 * - the task group effective clamp value, for tasks not either in the root
1546 * - the system default clamp value, defined by the sysadmin
1575 * When a task is enqueued on a rq, the clamp bucket currently defined by the
1577 * updates the rq's clamp value if required.
1582 * for each bucket when all its RUNNABLE tasks require the same clamp.
1593 /* Update task effective clamp */
1604 * "requested" clamp value of its RUNNABLE tasks.
1614 * When a task is dequeued from a rq, the clamp bucket refcounted by the task
1616 * active clamp value, then the rq's clamp value is updated.
1618 * Both refcounted tasks and rq's cached clamp values are expected to be
1670 * The rq clamp bucket value is reset to its base value whenever
1707 /* Reset clamp idle holding when there is one RUNNABLE task */
1767 * Setting the clamp bucket is serialized by task_rq_lock().
1769 * affecting a valid clamp bucket, the next time it's enqueued,
1770 * it will already see the updated clamp bucket value.
1940 /* Reset on sched class change for a non user-defined clamp value. */
2055 /* System defaults allow max clamp values for both indexes */
7370 increment = clamp(increment, -NICE_WIDTH, NICE_WIDTH);
8098 attr->sched_nice = clamp(attr->sched_nice, MIN_NICE, MAX_NICE);