Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6012
b: refs/heads/master
c: ca2f3da
h: refs/heads/master
v: v3
  • Loading branch information
Paul Jackson authored and Linus Torvalds committed Aug 26, 2005
1 parent 0a75119 commit 7e53e73
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 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: 13142341ac867bb67e88204cbfcb8d90f9a861b7
refs/heads/master: ca2f3daf779f5e89d14e9783fcfd7920842df9e9
19 changes: 0 additions & 19 deletions trunk/kernel/cpuset.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,25 +635,6 @@ static void update_cpu_domains(struct cpuset *cur)
if (par == NULL || cpus_empty(cur->cpus_allowed))
return;

/*
* Hack to avoid 2.6.13 partial node dynamic sched domain bug.
* Require the 'cpu_exclusive' cpuset to include all (or none)
* of the CPUs on each node, or return w/o changing sched domains.
* Remove this hack when dynamic sched domains fixed.
*/
{
int i, j;

for_each_cpu_mask(i, cur->cpus_allowed) {
cpumask_t mask = node_to_cpumask(cpu_to_node(i));

for_each_cpu_mask(j, mask) {
if (!cpu_isset(j, cur->cpus_allowed))
return;
}
}
}

/*
* Get all cpus from parent's cpus_allowed not part of exclusive
* children
Expand Down

0 comments on commit 7e53e73

Please sign in to comment.