Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6013
b: refs/heads/master
c: 212d6d2
h: refs/heads/master
i:
  6011: 0a75119
v: v3
  • Loading branch information
Paul Jackson authored and Linus Torvalds committed Aug 26, 2005
1 parent 7e53e73 commit ba3e1b8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ca2f3daf779f5e89d14e9783fcfd7920842df9e9
refs/heads/master: 212d6d2237f60bc28c1518f8abf9d3ed6c17574a
13 changes: 13 additions & 0 deletions trunk/kernel/cpuset.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,14 @@ static int validate_change(const struct cpuset *cur, const struct cpuset *trial)
* Call with cpuset_sem held. May nest a call to the
* lock_cpu_hotplug()/unlock_cpu_hotplug() pair.
*/

/*
* Hack to avoid 2.6.13 partial node dynamic sched domain bug.
* Disable letting 'cpu_exclusive' cpusets define dynamic sched
* domains, until the sched domain can handle partial nodes.
* Remove this #if hackery when sched domains fixed.
*/
#if 0
static void update_cpu_domains(struct cpuset *cur)
{
struct cpuset *c, *par = cur->parent;
Expand Down Expand Up @@ -667,6 +675,11 @@ static void update_cpu_domains(struct cpuset *cur)
partition_sched_domains(&pspan, &cspan);
unlock_cpu_hotplug();
}
#else
static void update_cpu_domains(struct cpuset *cur)
{
}
#endif

static int update_cpumask(struct cpuset *cs, char *buf)
{
Expand Down

0 comments on commit ba3e1b8

Please sign in to comment.