htb_add_to_wait_tree(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so this is htb_add_to_wait_tree, and yes bestie, it's from the Kernel API Manual β€” the full page name is htb_add_to_wait_tree(9). Its whole vibe is adds class to the event queue with delay πŸ’…βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

void htb_add_to_wait_tree (struct htb_sched *q , struct htb_class *cl ,
       s64 delay );

it's void, so no return-value drama, periodt πŸ’€


🌸 ARGUMENTS 🌸

  • q β€” the priority event queue 🎯
  • cl β€” the class to add 🫢
  • delay β€” delay in microseconds ⏳

πŸŽ€ DESCRIPTION πŸŽ€

The class is added to priority event queue to indicate that class will change its mode in cl->pq_key microseconds. So basically the queue is getting a lil heads-up that this class is gonna switch up its mode in exactly cl->pq_key microseconds, iykyk 🧚✨

bestie, make sure that class is not already in the queue. fr fr, that's the rule πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file: ./net/sched/sch_htb.c πŸ‘‘

the whole friend group is right here:


okay that's the page, mwah πŸ’‹ source/version is ./net/sched, date is October 2026, and the manual page name is htb_add_to_wait_tree(9) β€” iconic, no cap πŸ‘‘πŸ’–

πŸ“¦ where this page comes from