Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158359
b: refs/heads/master
c: de616e3
h: refs/heads/master
i:
  158357: 8ecff32
  158355: 687d19d
  158351: 8d5e933
v: v3
  • Loading branch information
Andreas Herrmann authored and Ingo Molnar committed Aug 18, 2009
1 parent e4230ef commit 56a37c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 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: 86548096f252bfe2065f1ea2d301e7319a16375d
refs/heads/master: de616e36c700dc312d9021dd75f769c463f85122
13 changes: 8 additions & 5 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -8593,6 +8593,12 @@ static void build_sched_groups(struct s_data *d, enum sched_domain_level l,
&cpu_to_phys_group,
d->send_covered, d->tmpmask);
break;
#ifdef CONFIG_NUMA
case SD_LV_ALLNODES:
init_sched_build_groups(cpu_map, cpu_map, &cpu_to_allnodes_group,
d->send_covered, d->tmpmask);
break;
#endif
default:
break;
}
Expand Down Expand Up @@ -8643,11 +8649,8 @@ static int __build_sched_domains(const struct cpumask *cpu_map,

#ifdef CONFIG_NUMA
/* Set up node groups */
if (d.sd_allnodes) {
init_sched_build_groups(cpu_map, cpu_map,
&cpu_to_allnodes_group,
d.send_covered, d.tmpmask);
}
if (d.sd_allnodes)
build_sched_groups(&d, SD_LV_ALLNODES, cpu_map, 0);

for (i = 0; i < nr_node_ids; i++) {
/* Set up node groups */
Expand Down

0 comments on commit 56a37c3

Please sign in to comment.