From: Ingo Molnar <mingo@elte.hu>
Date: Sun, 16 Mar 2008 10:14:30 +0000 (+0100)
Subject: sched: tune multi-core idle balancing
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=33b0c4217dcd67b788318c3192a2912b530e4eef;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

sched: tune multi-core idle balancing

WAKE_IDLE is too agressive on multi-core CPUs with the new
wake-affine code, keep it on for SMT/HT balancing alone
(where there's no cache affinity at all between logical CPUs).

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---

diff --git a/include/linux/topology.h b/include/linux/topology.h
index 2352f46160d..2d8dac8799c 100644
--- a/include/linux/topology.h
+++ b/include/linux/topology.h
@@ -138,7 +138,6 @@
 				| SD_BALANCE_FORK	\
 				| SD_BALANCE_EXEC	\
 				| SD_WAKE_AFFINE	\
-				| SD_WAKE_IDLE		\
 				| SD_SHARE_PKG_RESOURCES\
 				| BALANCE_FOR_MC_POWER,	\
 	.last_balance		= jiffies,		\