htb_deactivate_prios(9)
π NAME π
Okay bestie, welcome to htb_deactivate_prios(9) from the Kernel API Manual β and its whole vibe is: remove class from feed chain. Periodt. π
β¨ SYNOPSIS β¨
void htb_deactivate_prios (struct htb_sched *q , struct htb_class *cl );
π ARGUMENTS π
qβ the priority event queue ποΈclβ the class to deactivate π«Ά
π¦ DESCRIPTION π¦
So hereβs the tea: cl->cmode must represent the old mode β like, the mode before deactivation. Thatβs a requirement, not a suggestion, iykyk. π
If cl->prio_activity == 0, this function does nothing. Literally a no-op moment π.
Otherwise? The class is removed from all feed chains and rows. Clean. Slay. β¨
π SEE ALSO π
Kernel file ./net/sched/sch_htb.c, plus these absolute icons:
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_activate_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)
source: ./net/sched Β· date: October 2026 Β· manual: Kernel API Manual β k byeeee, go forth and deactivate those prios bestie ππ§β¨
π¦ 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