update_sd_lb_stats(9)
π update_sd_lb_stats(9) β the Kernel API Manual, but make it make sense
okay so bestie, welcome to update_sd_lb_stats(9) π this is a page from the Kernel API Manual, and it's genuinely one of those little functions that's lowkey doing a lot behind the scenes. let's get into it β¨
πΈ NAME πΈ
update_sd_lb_stats β she updates the sched_domain's statistics for load balancing. that's the whole gig. no cap π
π¦ SYNOPSIS π¦
void update_sd_lb_stats (struct lb_env *env , struct sd_lb_stats *sds );
look at her. void return, two pointers, zero drama. iconic π
π ARGUMENTS π
envβ the load balancing environment. yeah it's a whole vibe container, it's where the balancing context lives π«Άsdsβ the variable that holds the statistics for thissched_domain. this is where the numbers go, bestie, she's the storage π
π₯ SEE ALSO π₯
like, go read these next, fr fr. all of these live in the kernel file ./kernel/sched/fair.c:
update_tg_load_avg(9)update_cfs_rq_load_avg(9)attach_entity_load_avg(9)detach_entity_load_avg(9)cpu_util(9)sched_use_asym_prio(9)sched_group_asym(9)update_sg_lb_stats(9)update_sd_pick_busiest(9)idle_cpu_without(9)calculate_imbalance(9)sched_balance_find_src_group(9)
ngl there's no OPTIONS section here, no exit statuses, no environment variables, no warnings, no bug notes, and no examples on this page β she's a short and sweet one and we're not gonna invent lore that isn't there π
that's the whole page, bestie, you ate that π§ stay hydrated, keep your pointers valid, and remember: this one came from the ./kernel/sched section of the Kernel API Manual, dated October 2026, and the page is literally called update_sd_lb_stats(9) π mwah π
π¦ 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