Commit 17953249 authored by Peter Zijlstra's avatar Peter Zijlstra

x86/sched: Enable cluster scheduling on Hybrid

With the SMT vs non-SMT balancing issues sorted, also enable the
cluster domain for Hybrid machines.
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
parent b1bfeab9
...@@ -632,14 +632,9 @@ static void __init build_sched_topology(void) ...@@ -632,14 +632,9 @@ static void __init build_sched_topology(void)
}; };
#endif #endif
#ifdef CONFIG_SCHED_CLUSTER #ifdef CONFIG_SCHED_CLUSTER
/* x86_topology[i++] = (struct sched_domain_topology_level){
* For now, skip the cluster domain on Hybrid. cpu_clustergroup_mask, x86_cluster_flags, SD_INIT_NAME(CLS)
*/ };
if (!cpu_feature_enabled(X86_FEATURE_HYBRID_CPU)) {
x86_topology[i++] = (struct sched_domain_topology_level){
cpu_clustergroup_mask, x86_cluster_flags, SD_INIT_NAME(CLS)
};
}
#endif #endif
#ifdef CONFIG_SCHED_MC #ifdef CONFIG_SCHED_MC
x86_topology[i++] = (struct sched_domain_topology_level){ x86_topology[i++] = (struct sched_domain_topology_level){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment