htb_activate_prios(9)
π htb_activate_prios(9) π β straight from the Kernel API Manual
πΈ NAME πΈ
htb_activate_prios β creates active classe's feed chain β¨
β¨ SYNOPSIS β¨
void htb_activate_prios (struct htb_sched *q , struct htb_class *cl );
π ARGUMENTS π
qβ the priority event queue. The queue where priority events hang out.clβ the class to activate. The main-character class getting switched on.
π DESCRIPTION π
Okay so picture this: the class is connected to ancestors and/or appropriate rows for priorities it is participating on. That's the feed-chain link-up vibe, and it's lowkey iconic.
cl->cmode must be new (activated) mode. No exceptions, bestie β if it's not in new (activated) mode, this is not the function for that.
It does nothing if cl->prio_activity == 0. Literally nothing. Zero activity, zero action, periodt. π
π¦ SEE ALSO π¦
Kernel file ./net/sched/sch_htb.c β the source, the lore, the home base. Also check out:
htb_classify(9)htb_add_to_id_tree(9)htb_add_to_wait_tree(9)htb_next_rb_node(9)htb_add_class_to_row(9)htb_remove_class_from_row(9)htb_deactivate_prios(9)htb_class_mode(9)htb_change_class_mode(9)htb_activate(9)htb_deactivate(9)htb_charge_class(9)htb_do_events(9)htb_lookup_leaf(9)
mwah π β sourced from ./net/sched, dated October 2026, stamped htb_activate_prios(9).
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms