summaryrefslogtreecommitdiffstats
path: root/init/do_mounts_rd.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-11-25 02:35:05 +1030
committerIngo Molnar <mingo@elte.hu>2008-11-24 17:51:18 +0100
commitc6c4927b22a3514c6660f0e72c78716226bd3cc8 (patch)
treeee7fc9031eb14ac1c9d2f0732950b4faae2b6245 /init/do_mounts_rd.c
parent6a7b3dc3440f7b5a9b67594af01ed562cdeb41e4 (diff)
downloadlinux-stable-c6c4927b22a3514c6660f0e72c78716226bd3cc8.tar.gz
linux-stable-c6c4927b22a3514c6660f0e72c78716226bd3cc8.tar.bz2
linux-stable-c6c4927b22a3514c6660f0e72c78716226bd3cc8.zip
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 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions