Lines Matching refs:weight
6 * assigned to one depending on its compound weight. Each CPU round robins
179 static int weight_to_idx(u32 weight)
181 /* Coarsely map the compound weight to a FIFO. */
182 if (weight <= 25)
184 else if (weight <= 50)
186 else if (weight < 200)
188 else if (weight < 400)
199 int idx = weight_to_idx(p->scx.weight);
269 if (highpri_boosting && p->scx.weight >= HIGHPRI_WEIGHT) {
289 int idx = weight_to_idx(p->scx.weight);
464 core_sched_tail_seqs[weight_to_idx(prev->scx.weight)]++;
484 cpuc->avg_weight = cpuc->avg_weight * 3 / 4 + p->scx.weight / 4;
492 * The distance from the head of the queue scaled by the weight of the queue.
497 int idx = weight_to_idx(p->scx.weight);
620 bpf_printk("CGRP INIT %llu weight=%u period=%lu quota=%ld burst=%lu",
621 cgrp->kn->id, args->weight, args->bw_period_us,
626 void BPF_STRUCT_OPS(qmap_cgroup_set_weight, struct cgroup *cgrp, u32 weight)
628 bpf_printk("CGRP SET %llu weight=%u", cgrp->kn->id, weight);