bfq_insert(9)
π
bfq_insert β a.k.a. bfq_insert(9) from the Kernel API Manual β¨
Okay so bestie, buckle up, because this one is genuinely a little gem π
πΈ NAME πΈ
bfq_insert β the generic tree insertion girlie. like, she inserts. into a tree. that's the whole vibe π
β¨ SYNOPSIS β¨
void bfq_insert (struct rb_root *root , struct bfq_entity *entity );
no cap, that's the whole signature π₯
π¦ ARGUMENTS π¦
rootβ the tree root. literally the root of the whole tree, the main character of the data structure πentityβ the entity to insert. she's the one getting placed π«Ά
π DESCRIPTION π
So the way this works: bfq_insert gets used for the idle tree and the active tree, because β plot twist β they're both ordered by finish time. πβ¨ iykyk.
That's it, that's the lore. one function, two trees, one shared ordering. she's versatile π
π SEE ALSO π
Kernel file ./block/bfq-wf2q.c β go read it, it's giving source material π
and then the whole extended friend group, fr fr:
bfq_gt(9)bfq_update_next_in_service(9)bfq_delta(9)bfq_calc_finish(9)bfq_entity_of(9)bfq_extract(9)bfq_idle_extract(9)bfq_update_min(9)bfq_update_active_node(9)bfq_update_active_tree(9)bfq_active_insert(9)bfq_ioprio_to_weight(9)bfq_weight_to_ioprio(9)bfq_find_deepest(9)bfq_active_extract(9)bfq_idle_insert(9)bfq_forget_entity(9)bfq_put_idle_entity(9)bfq_forget_idle(9)bfq_bfqq_served(9)bfq_bfqq_charge_time(9)__bfq_activate_entity(9)__bfq_requeue_entity(9)bfq_activate_requeue_entity(9)__bfq_deactivate_entity(9)bfq_deactivate_entity(9)bfq_calc_vtime_jump(9)bfq_first_active_entity(9)__bfq_lookup_next_entity(9)bfq_lookup_next_entity(9)
like, thirty besties. thirty. she's connected ππ«
ok that's the whole page bestie, go forth and insert π
mwah π β this one came from the ./block corner of the source tree, dated October 2026, and yes she's a bfq_insert(9) girlie through and through πβ¨
π¦ 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