htb_deactivate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so htb_deactivate is literally the function that removes leaf cl from active feeds. yep, this page is from the Kernel API Manual, and the page title is htb_deactivate(9) β€” iconic behavior, no cap πŸ’–

πŸ’… SYNOPSIS πŸ’…

void htb_deactivate (struct htb_sched *q , struct htb_class *cl );

🌸 ARGUMENTS 🌸

  • q β€” the priority event queue, bestie πŸ—‚οΈ
  • cl β€” the target class, right on 🎯

✨ DESCRIPTION ✨

the way this function is making sure that leaf is active… in other words, it can't be called with a non-active leaf, periodt. it also removes class from the drop list. that's the whole vibe πŸ’…

lowkey important: the doc says you can't call it with a non-active leaf, so don't try to be cute with it πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

peep the Kernel file ./net/sched/sch_htb.c and all these other icons:


mwah πŸ’‹ β€” source/version ./net/sched, date October 2026, page htb_deactivate(9). byeee bestie 🫢✨

πŸ“¦ where this page comes from