Home
last modified time | relevance | path

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

/Linux-v5.4/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 */
/Linux-v5.4/kernel/sched/
Dcore.c7443 static int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us) in tg_set_cfs_quota() argument
7448 if (cfs_quota_us < 0) in tg_set_cfs_quota()
7450 else if ((u64)cfs_quota_us <= U64_MAX / NSEC_PER_USEC) in tg_set_cfs_quota()
7451 quota = (u64)cfs_quota_us * NSEC_PER_USEC; in tg_set_cfs_quota()
7501 struct cftype *cftype, s64 cfs_quota_us) in cpu_cfs_quota_write_s64() argument
7503 return tg_set_cfs_quota(css_tg(css), cfs_quota_us); in cpu_cfs_quota_write_s64()