bfq_update_min(9)
π bfq_update_min(9)
okay so bestie, we're in the Kernel API Manual today and this one is literally the glow-up artist for min_start π
β¨ NAME β¨
bfq_update_min β update the min_start field of a entity. periodt.
πΈ SYNOPSIS πΈ
void bfq_update_min (struct bfq_entity *entity , struct rb_node *node );
π ARGUMENTS π
entityβ the entity to update. yeah. the main character of this whole operation πnodeβ one of its children. literally just one of the kids π«Ά
π¦ DESCRIPTION π¦
so here's the vibe check: this function gets called when entity may be storing an invalid value for min_start, and the reason is that the active tree got updated underneath it π like, things moved, bestie, and now that field is giving stale.
the function also assumes that the subtree rooted at node has a valid min_start value β and note that node may be its left or its right child, both are valid, no cap. so don't come at it with a bogus subtree, because it's trusting you on that one fr fr π
π SEE ALSO π
Kernel file ./block/bfq-wf2q.c β and the whole friend group, because this icon does not function alone:
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_insert(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)
aaaand that's the whole page, mwah π this came out of ./block in October 2026 β go stan, iykyk π§ββοΈβ
π¦ 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