diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-11-25 02:35:05 +1030 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-24 17:51:18 +0100 |
commit | c6c4927b22a3514c6660f0e72c78716226bd3cc8 (patch) | |
tree | ee7fc9031eb14ac1c9d2f0732950b4faae2b6245 /kernel/freezer.c | |
parent | 6a7b3dc3440f7b5a9b67594af01ed562cdeb41e4 (diff) | |
download | kernel_goldelico_gta04-c6c4927b22a3514c6660f0e72c78716226bd3cc8.zip kernel_goldelico_gta04-c6c4927b22a3514c6660f0e72c78716226bd3cc8.tar.gz kernel_goldelico_gta04-c6c4927b22a3514c6660f0e72c78716226bd3cc8.tar.bz2 |
sched: convert struct root_domain to cpumask_var_t.
Impact: (future) size reduction for large NR_CPUS.
Dynamically allocating cpumasks (when CONFIG_CPUMASK_OFFSTACK) saves
space for small nr_cpu_ids but big CONFIG_NR_CPUS. cpumask_var_t
is just a struct cpumask for !CONFIG_CPUMASK_OFFSTACK.
def_root_domain is static, and so its masks are initialized with
alloc_bootmem_cpumask_var. After that, alloc_cpumask_var is used.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions