diff options
author | Mike Travis | 2008-04-04 18:11:04 -0700 |
---|---|---|
committer | Ingo Molnar | 2008-04-19 19:44:58 +0200 |
commit | 434d53b00d6bb7be0a1d3dcc0d0d5df6c042e164 (patch) | |
tree | 9bf697c0891127157e75fea409d8d8167d210fd4 /drivers/gpio | |
parent | d366f8cbc16882e93538d9a52423c2f50dad7c06 (diff) |
sched: remove fixed NR_CPUS sized arrays in kernel_sched_c
* Change fixed size arrays to per_cpu variables or dynamically allocated
arrays in sched_init() and sched_init_smp().
(1) static struct sched_entity *init_sched_entity_p[NR_CPUS];
(1) static struct cfs_rq *init_cfs_rq_p[NR_CPUS];
(1) static struct sched_rt_entity *init_sched_rt_entity_p[NR_CPUS];
(1) static struct rt_rq *init_rt_rq_p[NR_CPUS];
static struct sched_group **sched_group_nodes_bycpu[NR_CPUS];
(1) - these arrays are allocated via alloc_bootmem_low()
* Change sched_domain_debug_one() to use cpulist_scnprintf instead of
cpumask_scnprintf. This reduces the output buffer required and improves
readability when large NR_CPU count machines arrive.
* In sched_create_group() we allocate new arrays based on nr_cpu_ids.
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions