sched_use_asym_prio(9)
π 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:
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_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)sched_balance_find_src_group(9)
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
- 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