Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 1795324

Browse files
author
Peter Zijlstra
committed
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: Peter Zijlstra (Intel) <[email protected]>
1 parent b1bfeab commit 1795324

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

arch/x86/kernel/smpboot.c

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -632,14 +632,9 @@ static void __init build_sched_topology(void)
632632
};
633633
#endif
634634
#ifdef CONFIG_SCHED_CLUSTER
635-
/*
636-
* For now, skip the cluster domain on Hybrid.
637-
*/
638-
if (!cpu_feature_enabled(X86_FEATURE_HYBRID_CPU)) {
639-
x86_topology[i++] = (struct sched_domain_topology_level){
640-
cpu_clustergroup_mask, x86_cluster_flags, SD_INIT_NAME(CLS)
641-
};
642-
}
635+
x86_topology[i++] = (struct sched_domain_topology_level){
636+
cpu_clustergroup_mask, x86_cluster_flags, SD_INIT_NAME(CLS)
637+
};
643638
#endif
644639
#ifdef CONFIG_SCHED_MC
645640
x86_topology[i++] = (struct sched_domain_topology_level){

0 commit comments

Comments
 (0)