htb_deactivate_prios(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


source: ./net/sched Β· date: October 2026 Β· manual: Kernel API Manual β€” k byeeee, go forth and deactivate those prios bestie πŸ’–πŸ§šβœ¨

πŸ“¦ where this page comes from