__bfq_activate_entity(9)
π
__bfq_activate_entity(9) β like, the activation glow-up β¨
okay so before we even start: this is a page from the Kernel API Manual, bestie. Kernel. API. Manual. We're in the big leagues now π and the star of the show is __bfq_activate_entity β yes, with two leading underscores, she's that kind of function π
πΈ NAME πΈ
__bfq_activate_entity β literally handles the activation of an entity. that's it, that's the whole vibe check π¦
β¨ SYNOPSIS β¨
void __bfq_activate_entity (struct bfq_entity *entity , bool
non_blocking_wait_rq );
no cap, that's the exact signature, character for character, don't come for me π
π«Ά ARGUMENTS π«Ά
entityβ the entity being activated. she's the main character of this function, periodt πnon_blocking_wait_rqβtrueif the entity was waiting for a request. like, was she in her waiting era? π
π DESCRIPTION π
So this gets called for a 'true' activation β meaning the entity is not active, and one of its children just received a new request. it's giving "your kid booked a gig so now the whole family's booked" energy honestly π
Basically, what this function does is:
- updates the timestamps of
entityβ±οΈ - inserts
entityinto its active tree π³ - and it does that after possibly extracting it from its idle tree β so she might need to leave her idle era first, no big deal, we love a smooth transition β¨
that's the whole thing. update timestamps, migrate trees, slay π
π SEE ALSO π
okay this list is long, grab a snack π β but every single one's here, fr fr:
- Kernel file
./block/bfq-wf2q.c 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_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_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 I said. long list. but she ate, no crumbs ππ₯
π real talk though: this page is from ./block and it's dated October 2026 β so if you're reading this in the future, hey bestie, you're exactly on time π«Ά
okay that's the whole page, go forth and activate your entities, ily, bye ππ§β
π¦ 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