sched: convert nohz struct to cpumask_var_t.
commit7d1e6a9b95e3edeac91888bc683ae62f18519432
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 24 Nov 2008 16:05:09 +0000 (25 02:35 +1030)
committerIngo Molnar <mingo@elte.hu>
Mon, 24 Nov 2008 16:51:24 +0000 (24 17:51 +0100)
tree2459258c480790b6f12beb7db39e6f5345aa1b9c
parentc6c4927b22a3514c6660f0e72c78716226bd3cc8
sched: convert nohz struct 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.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c