diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-06-27 15:41:18 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-27 16:31:32 +0400 |
commit | b6a86c746f5b708012809958462234d19e9c8177 (patch) | |
tree | 38654c70da6382f50779ede1e973d2d395f38e54 /include/linux/sched.h | |
parent | 32df2ee86a580f70f2dbb90cf81f413aa655f838 (diff) | |
download | linux-b6a86c746f5b708012809958462234d19e9c8177.tar.xz |
sched: fix sched_domain aggregation
Keeping the aggregate on the first cpu of the sched domain has two problems:
- it could collide between different sched domains on different cpus
- it could slow things down because of the remote accesses
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 97a58b622ee1..eaf821072dbd 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -765,7 +765,6 @@ struct sched_domain { struct sched_domain *child; /* bottom domain must be null terminated */ struct sched_group *groups; /* the balancing groups of the domain */ cpumask_t span; /* span of all CPUs in this domain */ - int first_cpu; /* cache of the first cpu in this domain */ unsigned long min_interval; /* Minimum balance interval ms */ unsigned long max_interval; /* Maximum balance interval ms */ unsigned int busy_factor; /* less balancing by factor if busy */ |