sched_use_asym_prio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sched_use_asym_prio(9) πŸ’…

okay bestie, this is from the Kernel API Manual, and it’s literally about sched_use_asym_prio β€” the little check for whether asym_packing priority must be used ✨

🌸 NAME 🌸

sched_use_asym_prio β€” Check whether asym_packing priority must be used.

✨ SYNOPSIS ✨

bool sched_use_asym_prio (struct sched_domain *sd , int cpu );

πŸŽ€ ARGUMENTS πŸŽ€

  • sd β€” The scheduling domain of the load balancing. it’s giving β€œwhere the balancing drama is happening” vibes πŸ’–
  • cpu β€” A CPU. yep, just a CPU, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here’s the tea: always use CPU priority when balancing load between SMT siblings. When balancing load between cores, it is not sufficient that cpu is idle. Only use CPU priority if the whole core is idle. πŸ”₯

πŸ’– RETURN πŸ’–

Returns True if the priority of cpu must be followed. False otherwise. periodt πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./kernel/sched/fair.c β€” plus these besties:


that’s the whole page, bestie πŸ’– source/version ./kernel/sched, dated October 2026, page sched_use_asym_prio(9) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from