sched_balanc...nd_src_group(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


🌈 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