diff --git a/include/linux/sched.h b/include/linux/sched.h index e48311e8c923..70abfd3ee0aa 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -864,7 +864,10 @@ static inline int sd_balance_for_mc_power(void) if (sched_smt_power_savings) return SD_POWERSAVINGS_BALANCE; - return SD_PREFER_SIBLING; + if (!sched_mc_power_savings) + return SD_PREFER_SIBLING; + + return 0; } static inline int sd_balance_for_package_power(void)