|
@@ -434,7 +434,8 @@ const struct cpumask *cpu_coregroup_mask(int cpu)
|
|
|
* For perf, we return last level cache shared map.
|
|
|
* And for power savings, we return cpu_core_map
|
|
|
*/
|
|
|
- if (sched_mc_power_savings || sched_smt_power_savings)
|
|
|
+ if ((sched_mc_power_savings || sched_smt_power_savings) &&
|
|
|
+ !(cpu_has(c, X86_FEATURE_AMD_DCM)))
|
|
|
return cpu_core_mask(cpu);
|
|
|
else
|
|
|
return c->llc_shared_map;
|