sched_balanc...nd_src_group(9)
π sched_balance_find_src_group(9)
okay so welcome to the Kernel API Manual bestie, we're looking at sched_balance_find_src_group today (the fancy truncated header on this thing literally reads sched_balanc...nd_src_group(9) β she's mysterious, she's dramatic, she's a kernel function π).
π NAME π
sched_balance_find_src_group β returns the busiest group within the sched_domain if there is an imbalance. that's it, that's the whole vibe check β¨
π¦ SYNOPSIS π¦
struct sched_group * sched_balance_find_src_group (struct lb_env *env );
πΈ ARGUMENTS πΈ
envβ the load balancing environment. that's her, that's the whole context she needs π«Ά
β¨ DESCRIPTION β¨
not only does she find the busiest group, she also calculates the amount of runnable load which should be moved to restore balance. multitasking icon behavior, no cap π
π₯ RETURN π₯
- the busiest group if imbalance exists π
π SEE ALSO π
kernel file ./kernel/sched/fair.c, plus the whole friend group:
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)update_sd_lb_stats(9)calculate_imbalance(9)
π that's the page fr fr β brought to you from ./kernel/sched, dated October 2026 π
stay balanced bestie, ily, go touch some sched_domain π
ππ¦
π¦ 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