Home
last modified time | relevance | path

Searched refs:cfs_quota_us (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/Documentation/scheduler/
Dsched-bwc.rst28 cpu.cfs_quota_us: the total available run-time within a period (in microseconds)
37 A value of -1 for cpu.cfs_quota_us indicates that the group does not have any
48 Writing any negative value to cpu.cfs_quota_us will remove the bandwidth limit
116 cpuacct.usage will increase roughly equal to cfs_quota_us in each period.
153 # echo 250000 > cpu.cfs_quota_us /* quota = 250ms */
161 # echo 1000000 > cpu.cfs_quota_us /* quota = 1000ms */
170 # echo 10000 > cpu.cfs_quota_us /* quota = 10ms */
/kernel/linux/linux-5.10/kernel/sched/
Dcore.c8610 static int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us) in tg_set_cfs_quota() argument
8615 if (cfs_quota_us < 0) in tg_set_cfs_quota()
8617 else if ((u64)cfs_quota_us <= U64_MAX / NSEC_PER_USEC) in tg_set_cfs_quota()
8618 quota = (u64)cfs_quota_us * NSEC_PER_USEC; in tg_set_cfs_quota()
8668 struct cftype *cftype, s64 cfs_quota_us) in cpu_cfs_quota_write_s64() argument
8670 return tg_set_cfs_quota(css_tg(css), cfs_quota_us); in cpu_cfs_quota_write_s64()