|
@@ -580,6 +580,15 @@ void __init smp_cpus_done(unsigned int max_cpus)
|
|
dump_numa_cpu_topology();
|
|
dump_numa_cpu_topology();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+int arch_sd_sibling_asym_packing(void)
|
|
|
|
+{
|
|
|
|
+ if (cpu_has_feature(CPU_FTR_ASYM_SMT)) {
|
|
|
|
+ printk_once(KERN_INFO "Enabling Asymmetric SMT scheduling\n");
|
|
|
|
+ return SD_ASYM_PACKING;
|
|
|
|
+ }
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
|
|
+
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
|
int __cpu_disable(void)
|
|
int __cpu_disable(void)
|
|
{
|
|
{
|