Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158705
b: refs/heads/master
c: 5a925b4
h: refs/heads/master
i:
  158703: 371c562
v: v3
  • Loading branch information
Andreas Herrmann authored and H. Peter Anvin committed Sep 3, 2009
1 parent 127cb89 commit 826013e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb9805ab5b97079f69a21b6b4e344a69d5c96157
refs/heads/master: 5a925b4282d7f805deafde62001a83dbaf8be275
3 changes: 2 additions & 1 deletion trunk/arch/x86/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 826013e

Please sign in to comment.